aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/ArgumentPromotion.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-13 23:32:53 +0000
committerChris Lattner <sabre@nondot.org>2004-11-13 23:32:53 +0000
commit4c989b6bd7f3ccaedd522a6a53a49ea7e170e75e (patch)
tree127746a73e5b9d726b4bfd525a57854616c63c65 /lib/Transforms/IPO/ArgumentPromotion.cpp
parent11a3d7b7ddd10659b72ed248d878fa0d90ddcb45 (diff)
Remove debugging code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/ArgumentPromotion.cpp')
-rw-r--r--lib/Transforms/IPO/ArgumentPromotion.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/ArgumentPromotion.cpp b/lib/Transforms/IPO/ArgumentPromotion.cpp
index 927c60a23f..3e3e265c6e 100644
--- a/lib/Transforms/IPO/ArgumentPromotion.cpp
+++ b/lib/Transforms/IPO/ArgumentPromotion.cpp
@@ -87,7 +87,6 @@ bool ArgPromotion::runOnSCC(const std::vector<CallGraphNode *> &SCC) {
// Attempt to promote arguments from all functions in this SCC.
for (unsigned i = 0, e = SCC.size(); i != e; ++i)
LocalChange |= PromoteArguments(SCC[i]);
- if (LocalChange) return true;
Changed |= LocalChange; // Remember that we changed something.
} while (LocalChange);