From ff16e6b701f04f1f9c5eae1a064ac86751a46517 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 9 Apr 2004 22:28:33 +0000 Subject: [PATCH] Fix an obvious bug in the refactoring I did a few days ago llvm-svn: 12797 --- tools/bugpoint/Miscompilation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 32dea94d8a7..fddbebddfe7 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; }