summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-21 14:23:18 +0000
committerChris Lattner <sabre@nondot.org>2004-04-21 14:23:18 +0000
commit107fb18d8968064667b187c3f65ff0558ee130e1 (patch)
tree38b0fb29eabc109f1a07befc663fdea551cff818 /lib
parent68d57e7ae80044401efd889270a12c71b3efb9ab (diff)
downloadexternal_llvm-107fb18d8968064667b187c3f65ff0558ee130e1.zip
external_llvm-107fb18d8968064667b187c3f65ff0558ee130e1.tar.gz
external_llvm-107fb18d8968064667b187c3f65ff0558ee130e1.tar.bz2
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/IPO/Inliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/Inliner.cpp b/lib/Transforms/IPO/Inliner.cpp
index 17e8001c..fdea373 100644
--- a/lib/Transforms/IPO/Inliner.cpp
+++ b/lib/Transforms/IPO/Inliner.cpp
@@ -144,7 +144,7 @@ bool Inliner::runOnSCC(const std::vector<CallGraphNode*> &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()) {