mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +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:
parent
cf95d4fe42
commit
a366c98077
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user