diff options
author | Owen Anderson <resistor@mac.com> | 2010-07-20 06:52:42 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-07-20 06:52:42 +0000 |
commit | 8dc129325fe840748a1e8592792144f1cc20ff16 (patch) | |
tree | dd4fa94ba9a88779d0c25889ad5cf618f4352a8c /llvm/tools/bugpoint/CrashDebugger.cpp | |
parent | 4adaccf0bf12cb8f8e2fcbfd70631599d8661b21 (diff) | |
download | bcm5719-llvm-8dc129325fe840748a1e8592792144f1cc20ff16.tar.gz bcm5719-llvm-8dc129325fe840748a1e8592792144f1cc20ff16.zip |
Reapply r108794, a fix for the failing test from last time.
llvm-svn: 108813
Diffstat (limited to 'llvm/tools/bugpoint/CrashDebugger.cpp')
-rw-r--r-- | llvm/tools/bugpoint/CrashDebugger.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp index 2d0631cdad9..b0ee672e63d 100644 --- a/llvm/tools/bugpoint/CrashDebugger.cpp +++ b/llvm/tools/bugpoint/CrashDebugger.cpp @@ -43,7 +43,7 @@ namespace { } namespace llvm { - class ReducePassList : public ListReducer<const PassInfo*> { + class ReducePassList : public ListReducer<const StaticPassInfo*> { BugDriver &BD; public: ReducePassList(BugDriver &bd) : BD(bd) {} @@ -52,15 +52,15 @@ namespace llvm { // running the "Kept" passes fail when run on the output of the "removed" // passes. If we return true, we update the current module of bugpoint. // - virtual TestResult doTest(std::vector<const PassInfo*> &Removed, - std::vector<const PassInfo*> &Kept, + virtual TestResult doTest(std::vector<const StaticPassInfo*> &Removed, + std::vector<const StaticPassInfo*> &Kept, std::string &Error); }; } ReducePassList::TestResult -ReducePassList::doTest(std::vector<const PassInfo*> &Prefix, - std::vector<const PassInfo*> &Suffix, +ReducePassList::doTest(std::vector<const StaticPassInfo*> &Prefix, + std::vector<const StaticPassInfo*> &Suffix, std::string &Error) { sys::Path PrefixOutput; Module *OrigProgram = 0; |