diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-09 22:28:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-09 22:28:33 +0000 |
commit | 2423db0e8577e769ac5ad4e567808e43daf37945 (patch) | |
tree | 833c39d58a89c2559b4c374cc36b2cde0df20a3a | |
parent | 36365406352b15fd3747ef5c6efd85ded4e04608 (diff) | |
download | external_llvm-2423db0e8577e769ac5ad4e567808e43daf37945.zip external_llvm-2423db0e8577e769ac5ad4e567808e43daf37945.tar.gz external_llvm-2423db0e8577e769ac5ad4e567808e43daf37945.tar.bz2 |
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
-rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 32dea94..fddbebdd 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; } |