summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita9691fe70dc36cb6bbced92df8427286f4c95ec3 (patch)
tree1914c1524f6ce3fd56f3ee124c8cc1b9dd21e523 /llvm/lib
parentc87784f1fcd52e052f4540a90684a410c05532d2 (diff)
downloadbcm5719-llvm-a9691fe70dc36cb6bbced92df8427286f4c95ec3.tar.gz
bcm5719-llvm-a9691fe70dc36cb6bbced92df8427286f4c95ec3.zip
Fix typeo
llvm-svn: 13089
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/IPO/Inliner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp
index 17e8001c5b5..fdea3736259 100644
--- a/llvm/lib/Transforms/IPO/Inliner.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud