summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/CrashDebugger.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-20 01:19:58 +0000
committerOwen Anderson <resistor@mac.com>2010-07-20 01:19:58 +0000
commite7c5fe586aa8cce9f5cb6bb03c8552ae95f3ae9d (patch)
tree61328ffece7923f99ea146c8846260c68500ae50 /llvm/tools/bugpoint/CrashDebugger.cpp
parent3ff13affda01f263b87eee0dfad166b6dcf11523 (diff)
downloadbcm5719-llvm-e7c5fe586aa8cce9f5cb6bb03c8552ae95f3ae9d.tar.gz
bcm5719-llvm-e7c5fe586aa8cce9f5cb6bb03c8552ae95f3ae9d.zip
Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).
llvm-svn: 108794
Diffstat (limited to 'llvm/tools/bugpoint/CrashDebugger.cpp')
-rw-r--r--llvm/tools/bugpoint/CrashDebugger.cpp10
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;
OpenPOWER on IntegriCloud