summaryrefslogtreecommitdiff
path: root/lib/VMCore/Pass.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-04-01 22:54:42 +0000
committerEric Christopher <echristo@apple.com>2010-04-01 22:54:42 +0000
commit1d8f83d0a00e912c55ec0974eba6122666cc6fa1 (patch)
tree5472afae0575df6c097d8e34f08a07b84ffcf916 /lib/VMCore/Pass.cpp
parentc8e77640a53823b233f3f7a5c2be12aef9ebc69e (diff)
downloadllvm-1d8f83d0a00e912c55ec0974eba6122666cc6fa1.tar.gz
llvm-1d8f83d0a00e912c55ec0974eba6122666cc6fa1.tar.bz2
llvm-1d8f83d0a00e912c55ec0974eba6122666cc6fa1.tar.xz
Revert r100143.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Pass.cpp')
-rw-r--r--lib/VMCore/Pass.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp
index 6093750124..a782e5a82e 100644
--- a/lib/VMCore/Pass.cpp
+++ b/lib/VMCore/Pass.cpp
@@ -18,7 +18,6 @@
#include "llvm/Module.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringMap.h"
-#include "llvm/Assembly/PrintModulePass.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/PassNameParser.h"
@@ -43,11 +42,6 @@ Pass::~Pass() {
// Force out-of-line virtual method.
ModulePass::~ModulePass() { }
-Pass *ModulePass::createPrinterPass(raw_ostream &O,
- const std::string &Banner) const {
- return createPrintModulePass(&O, false, Banner);
-}
-
PassManagerType ModulePass::getPotentialPassManagerType() const {
return PMT_ModulePassManager;
}
@@ -119,11 +113,6 @@ void ImmutablePass::initializePass() {
// FunctionPass Implementation
//
-Pass *FunctionPass::createPrinterPass(raw_ostream &O,
- const std::string &Banner) const {
- return createPrintFunctionPass(Banner, &O);
-}
-
// run - On a module, we run this pass by initializing, runOnFunction'ing once
// for every function in the module, then by finalizing.
//
@@ -166,13 +155,6 @@ PassManagerType FunctionPass::getPotentialPassManagerType() const {
// BasicBlockPass Implementation
//
-Pass *BasicBlockPass::createPrinterPass(raw_ostream &O,
- const std::string &Banner) const {
-
- llvm_unreachable("BasicBlockPass printing unsupported.");
- return 0;
-}
-
// To run this pass on a function, we simply call runOnBasicBlock once for each
// function.
//