diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-05 02:16:32 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-05 02:16:32 +0000 |
commit | 5d8cace94a71169ce8493baa7f3305a27fe0cd84 (patch) | |
tree | 95176448a258ea7abd5ffc0d1b70557455ab2924 /tools/bugpoint/CrashDebugger.cpp | |
parent | 02a8f76d58cbc44fbcd55f29d2eccbfac49df794 (diff) | |
download | llvm-5d8cace94a71169ce8493baa7f3305a27fe0cd84.tar.gz llvm-5d8cace94a71169ce8493baa7f3305a27fe0cd84.tar.bz2 llvm-5d8cace94a71169ce8493baa7f3305a27fe0cd84.tar.xz |
Add a Module argument to the remaining runPasses methods and mark getContext
const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110300 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/CrashDebugger.cpp')
-rw-r--r-- | tools/bugpoint/CrashDebugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp index 735adc5738..c423203389 100644 --- a/tools/bugpoint/CrashDebugger.cpp +++ b/tools/bugpoint/CrashDebugger.cpp @@ -86,7 +86,7 @@ ReducePassList::doTest(std::vector<const PassInfo*> &Prefix, outs() << "Checking to see if these passes crash: " << getPassesString(Suffix) << ": "; - if (BD.runPasses(Suffix)) { + if (BD.runPasses(BD.getProgram(), Suffix)) { delete OrigProgram; // The suffix crashes alone... return KeepSuffix; } |