summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ExecutionDriver.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-08-05 03:00:22 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-08-05 03:00:22 +0000
commitd1c7ef4ab59b570328d6e8bf01144f52c30f4b24 (patch)
tree8fc76e28bc0e95ecf329a85bbf1dee83d0adddd3 /llvm/tools/bugpoint/ExecutionDriver.cpp
parenta0fd306a943f26ca7454533b1aee6a50fc10b5e0 (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud