mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-01 13:17:01 +00:00
s/Method/Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -100,10 +100,10 @@ void CallGraph::addToCallGraph(Function *M) {
|
||||
Instruction *I = *II;
|
||||
|
||||
if (CallInst *CI = dyn_cast<CallInst>(I)) {
|
||||
if (CI->getCalledMethod() == 0)
|
||||
if (CI->getCalledFunction() == 0)
|
||||
Node->addCalledMethod(ExternalNode);
|
||||
} else if (InvokeInst *II = dyn_cast<InvokeInst>(I)) {
|
||||
if (II->getCalledMethod() == 0)
|
||||
if (II->getCalledFunction() == 0)
|
||||
Node->addCalledMethod(ExternalNode);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user