diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-24 06:24:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-24 06:24:46 +0000 |
commit | b11a99bd39ec12733527bde330302b435b8d9f1a (patch) | |
tree | dddebaa016832c9a24667047b0493223aae6ea10 | |
parent | 792699c46ef9bfc47dd459bbfa7e71bcb2cee29a (diff) | |
download | external_llvm-b11a99bd39ec12733527bde330302b435b8d9f1a.zip external_llvm-b11a99bd39ec12733527bde330302b435b8d9f1a.tar.gz external_llvm-b11a99bd39ec12733527bde330302b435b8d9f1a.tar.bz2 |
Fix a bug in my previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13717 91177308-0d34-0410-b5e6-96231b3b80d8
-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; } |