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:
parent
7cbd5dc1f0
commit
62ab0d6471
@ -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...
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user