Replaced return type of insertCallGraph with bool

renamed two locals in newRegArg, and used range based for in it
This commit is contained in:
Artur K
2012-03-13 00:43:05 +01:00
parent fe250a822d
commit d3e62a99aa
4 changed files with 27 additions and 22 deletions

View File

@@ -54,8 +54,8 @@ public:
}
public:
void writeNodeCallGraph(int indIdx);
boolT insertCallGraph(ilFunction caller, ilFunction callee);
boolT insertCallGraph(Function *caller, ilFunction callee);
bool insertCallGraph(ilFunction caller, ilFunction callee);
bool insertCallGraph(Function *caller, ilFunction callee);
void insertArc(ilFunction newProc);
};
//#define NUM_PROCS_DELTA 5 /* delta # procs a proc invokes */

View File

@@ -62,4 +62,5 @@ public:
}
}
static bool isMemOff(eReg r);
};