From c89b1ef0a98f4a024fa61b7e6e62bad592f21ab5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 30 Jul 2010 14:19:00 +0000 Subject: Add a Program argument to diffProgram to avoid a use of swapProgramIn. llvm-svn: 109859 --- llvm/tools/bugpoint/BugDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/bugpoint/BugDriver.cpp') diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp index 45a0d4dd17a..d5b0656019d 100644 --- a/llvm/tools/bugpoint/BugDriver.cpp +++ b/llvm/tools/bugpoint/BugDriver.cpp @@ -211,7 +211,7 @@ bool BugDriver::run(std::string &ErrMsg) { // matches, then we assume there is a miscompilation bug and try to // diagnose it. outs() << "*** Checking the code generator...\n"; - bool Diff = diffProgram("", "", false, &Error); + bool Diff = diffProgram(Program, "", "", false, &Error); if (!Error.empty()) { errs() << Error; return debugCodeGeneratorCrash(ErrMsg); -- cgit v1.2.3