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 | 5bcb4eb13c136e5ed68c1764fb69df1856e0b072 (patch) | |
tree | 26473f3c16600d7b99e2585e6451768a481adfdd /llvm/tools/bugpoint/Miscompilation.cpp | |
parent | 8ffe3e0b723d261ffb589f738bd2730b0e82f3fb (diff) | |
download | bcm5719-llvm-5bcb4eb13c136e5ed68c1764fb69df1856e0b072.tar.gz bcm5719-llvm-5bcb4eb13c136e5ed68c1764fb69df1856e0b072.zip |
Fix an obvious bug in the refactoring I did a few days ago
llvm-svn: 12797
Diffstat (limited to 'llvm/tools/bugpoint/Miscompilation.cpp')
-rw-r--r-- | llvm/tools/bugpoint/Miscompilation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/Miscompilation.cpp b/llvm/tools/bugpoint/Miscompilation.cpp index 32dea94d8a7..fddbebddfe7 100644 --- a/llvm/tools/bugpoint/Miscompilation.cpp +++ b/llvm/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; } |