mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Trying to get the dsgraph for an external function is bad for DSA's health
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -116,7 +116,8 @@ unsigned CompleteBUDataStructures::calculateSCCGraphs(DSGraph &FG,
|
||||
|
||||
// Loop over all of the actually called functions...
|
||||
ActualCalleesTy::iterator I, E;
|
||||
for (tie(I, E) = ActualCallees.equal_range(Call); I != E; ++I) {
|
||||
for (tie(I, E) = ActualCallees.equal_range(Call); I != E; ++I)
|
||||
if (!I->second->isExternal()) {
|
||||
DSGraph &Callee = getOrCreateGraph(*I->second);
|
||||
unsigned M;
|
||||
// Have we visited the destination function yet?
|
||||
|
Reference in New Issue
Block a user