mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 01:13:25 +00:00
Add CallGraph::getOrInsertFunction, to allow clients to update the callgraph
when they change the program git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25316 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
516a74c01a
commit
56151dad2e
@ -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