summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-20 03:06:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-20 03:06:07 +0000
commite8a469cdb400249ec263c79d1021f953f42f2760 (patch)
tree7e8a5fbe32425e7360d052e45caa82e9b6191fcc /tools/bugpoint/BugDriver.cpp
parent8ba15cb7099d9eadcb345328228d77ffa5afa42d (diff)
downloadllvm-e8a469cdb400249ec263c79d1021f953f42f2760.tar.gz
llvm-e8a469cdb400249ec263c79d1021f953f42f2760.tar.bz2
llvm-e8a469cdb400249ec263c79d1021f953f42f2760.tar.xz
Revert r108794, "Separate PassInfo into two classes: a constructor-free
superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is breaking teh everything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r--tools/bugpoint/BugDriver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp
index 49b6640109..45a0d4dd17 100644
--- a/tools/bugpoint/BugDriver.cpp
+++ b/tools/bugpoint/BugDriver.cpp
@@ -56,8 +56,7 @@ void BugDriver::setNewProgram(Module *M) {
/// getPassesString - Turn a list of passes into a string which indicates the
/// command line options that must be passed to add the passes.
///
-std::string
-llvm::getPassesString(const std::vector<const StaticPassInfo*> &Passes) {
+std::string llvm::getPassesString(const std::vector<const PassInfo*> &Passes) {
std::string Result;
for (unsigned i = 0, e = Passes.size(); i != e; ++i) {
if (i) Result += " ";