mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
Fix a bug in my previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13717 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
792699c46e
commit
b11a99bd39
@ -125,6 +125,7 @@ bool Inliner::runOnSCC(const std::vector<CallGraphNode*> &SCC) {
|
|||||||
if (Callee->isExternal() ||
|
if (Callee->isExternal() ||
|
||||||
CallSites[CSi].getInstruction()->getParent()->getParent() ==Callee){
|
CallSites[CSi].getInstruction()->getParent()->getParent() ==Callee){
|
||||||
std::swap(CallSites[CSi], CallSites.back());
|
std::swap(CallSites[CSi], CallSites.back());
|
||||||
|
CallSites.pop_back();
|
||||||
--CSi;
|
--CSi;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user