From 107fb18d8968064667b187c3f65ff0558ee130e1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 Apr 2004 14:23:18 +0000 Subject: [PATCH] Fix typeo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13089 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/Inliner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp index 17e8001c5b5..fdea3736259 100644 --- a/lib/Transforms/IPO/Inliner.cpp +++ b/lib/Transforms/IPO/Inliner.cpp @@ -144,7 +144,7 @@ bool Inliner::runOnSCC(const std::vector &SCC) { bool Inliner::doFinalization(CallGraph &CG) { bool Changed = false; for (CallGraph::iterator I = CG.begin(), E = CG.end(); I != E; ) { - CallGraphNode *CGN = (++I)->second; + CallGraphNode *CGN = (I++)->second; Function *F = CGN ? CGN->getFunction() : 0; if (F && (F->hasLinkOnceLinkage() || F->hasInternalLinkage()) && F->use_empty()) { -- 2.34.1