diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-05 03:00:22 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-05 03:00:22 +0000 |
commit | d1c7ef4ab59b570328d6e8bf01144f52c30f4b24 (patch) | |
tree | 8fc76e28bc0e95ecf329a85bbf1dee83d0adddd3 /llvm/tools/bugpoint/ExecutionDriver.cpp | |
parent | a0fd306a943f26ca7454533b1aee6a50fc10b5e0 (diff) | |
download | bcm5719-llvm-d1c7ef4ab59b570328d6e8bf01144f52c30f4b24.tar.gz bcm5719-llvm-d1c7ef4ab59b570328d6e8bf01144f52c30f4b24.zip |
Add const to compileProgram and to the various test functions in CrashDebugger.
llvm-svn: 110306
Diffstat (limited to 'llvm/tools/bugpoint/ExecutionDriver.cpp')
-rw-r--r-- | llvm/tools/bugpoint/ExecutionDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ExecutionDriver.cpp b/llvm/tools/bugpoint/ExecutionDriver.cpp index 28f61c8fe67..73124849324 100644 --- a/llvm/tools/bugpoint/ExecutionDriver.cpp +++ b/llvm/tools/bugpoint/ExecutionDriver.cpp @@ -293,7 +293,7 @@ bool BugDriver::initializeExecutionEnvironment() { /// setting Error if an error occurs. This is used for code generation /// crash testing. /// -void BugDriver::compileProgram(Module *M, std::string *Error) { +void BugDriver::compileProgram(Module *M, std::string *Error) const { // Emit the program to a bitcode file... sys::Path BitcodeFile (OutputPrefix + "-test-program.bc"); std::string ErrMsg; |