summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-09 22:28:33 +0000
committerChris Lattner <sabre@nondot.org>2004-04-09 22:28:33 +0000
commit2423db0e8577e769ac5ad4e567808e43daf37945 (patch)
tree833c39d58a89c2559b4c374cc36b2cde0df20a3a /tools
parent36365406352b15fd3747ef5c6efd85ded4e04608 (diff)
downloadllvm-2423db0e8577e769ac5ad4e567808e43daf37945.tar.gz
llvm-2423db0e8577e769ac5ad4e567808e43daf37945.tar.bz2
llvm-2423db0e8577e769ac5ad4e567808e43daf37945.tar.xz
Fix an obvious bug in the refactoring I did a few days ago
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12797 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/bugpoint/Miscompilation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp
index 32dea94d8a..fddbebddfe 100644
--- a/tools/bugpoint/Miscompilation.cpp
+++ b/tools/bugpoint/Miscompilation.cpp
@@ -347,7 +347,7 @@ static bool TestOptimizer(BugDriver &BD, Module *Test, Module *Safe) {
delete Test;
std::cout << " Checking to see if the merged program executes correctly: ";
- bool Broken = TestMergedProgram(BD, Test, Safe, true);
+ bool Broken = TestMergedProgram(BD, Optimized, Safe, true);
std::cout << (Broken ? " nope.\n" : " yup.\n");
return Broken;
}