projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
792699c
)
Fix a bug in my previous checkin
author
Chris Lattner
<sabre@nondot.org>
Mon, 24 May 2004 06:24:46 +0000
(06:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 24 May 2004 06:24:46 +0000
(06:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13717
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/Inliner.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/Inliner.cpp
b/lib/Transforms/IPO/Inliner.cpp
index 1186c3e617fff103621c03f152a3e1a2e8f9ae79..0abc4f7179feeb9b3279e33650fef5ceded4cd5f 100644
(file)
--- 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;
}