diff options
author | Owen Anderson <resistor@mac.com> | 2010-07-20 01:19:58 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-07-20 01:19:58 +0000 |
commit | 8ba15cb7099d9eadcb345328228d77ffa5afa42d (patch) | |
tree | 48778ce4b577178912f4a72d48b761056aae92ae /tools/bugpoint/CrashDebugger.cpp | |
parent | fb272ad614e923bebdf226ff9d3fbce5e2ae1192 (diff) | |
download | external_llvm-8ba15cb7099d9eadcb345328228d77ffa5afa42d.zip external_llvm-8ba15cb7099d9eadcb345328228d77ffa5afa42d.tar.gz external_llvm-8ba15cb7099d9eadcb345328228d77ffa5afa42d.tar.bz2 |
Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/CrashDebugger.cpp')
-rw-r--r-- | tools/bugpoint/CrashDebugger.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp index 2d0631c..b0ee672 100644 --- a/tools/bugpoint/CrashDebugger.cpp +++ b/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; |