mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-11 06:38:20 +00:00
method was renamed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -79,8 +79,9 @@ void DSGraphStats::countCallees(const Function& F) {
|
|||||||
I != E; ++I)
|
I != E; ++I)
|
||||||
if (isIndirectCallee(I->getCallSite().getCalledValue())) {
|
if (isIndirectCallee(I->getCallSite().getCalledValue())) {
|
||||||
// This is an indirect function call
|
// This is an indirect function call
|
||||||
const std::vector<GlobalValue*> &Callees =
|
std::vector<Function*> Callees;
|
||||||
I->getCalleeNode()->getGlobals();
|
I->getCalleeNode()->addFullFunctionList(Callees);
|
||||||
|
|
||||||
if (Callees.size() > 0) {
|
if (Callees.size() > 0) {
|
||||||
totalNumCallees += Callees.size();
|
totalNumCallees += Callees.size();
|
||||||
++numIndirectCalls;
|
++numIndirectCalls;
|
||||||
|
Reference in New Issue
Block a user