Fix a bug in my previous checkin

llvm-svn: 13717
This commit is contained in:
Chris Lattner 2004-05-24 06:24:46 +00:00
parent aabaaec037
commit 79409ebc27

View File

@ -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;
}