mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Cannot modify original call sites vector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4634 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
679e8e1b19
commit
01fb0c75aa
@ -156,7 +156,12 @@ bool Steens::run(Module &M) {
|
||||
// call nodes...
|
||||
//
|
||||
std::vector<DSCallSite> &Calls =
|
||||
ResultGraph->getFunctionCalls();
|
||||
ResultGraph->getAuxFunctionCalls();
|
||||
assert(Calls.empty() && "Aux call list is already in use??");
|
||||
|
||||
// Start with a copy of the original call sites...
|
||||
Calls = ResultGraph->getFunctionCalls();
|
||||
|
||||
for (unsigned i = 0; i != Calls.size(); ) {
|
||||
DSCallSite &CurCall = Calls[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user