1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Add CallGraph::getOrInsertFunction, to allow clients to update the callgraph

when they change the program

llvm-svn: 25316
This commit is contained in:
Chris Lattner 2006-01-14 20:01:50 +00:00
parent 7cbd5dc1f0
commit 62ab0d6471

View File

@ -132,6 +132,11 @@ public:
/// old code over).
void changeFunction(Function *OldF, Function *NewF);
/// getOrInsertFunction - This method is identical to calling operator[], but
/// it will insert a new CallGraphNode for the specified function if one does
/// not already exist.
CallGraphNode *getOrInsertFunction(const Function *F);
//===---------------------------------------------------------------------
// Pass infrastructure interface glue code...
//