diff options
-rw-r--r-- | lib/Transforms/IPO/Inliner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp index 1186c3e..0abc4f7 100644 --- a/lib/Transforms/IPO/Inliner.cpp +++ b/lib/Transforms/IPO/Inliner.cpp @@ -125,6 +125,7 @@ bool Inliner::runOnSCC(const std::vector<CallGraphNode*> &SCC) { if (Callee->isExternal() || CallSites[CSi].getInstruction()->getParent()->getParent() ==Callee){ std::swap(CallSites[CSi], CallSites.back()); + CallSites.pop_back(); --CSi; continue; } |