diff options
author | Eric Christopher <echristo@apple.com> | 2010-04-01 22:54:42 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-04-01 22:54:42 +0000 |
commit | 1d8f83d0a00e912c55ec0974eba6122666cc6fa1 (patch) | |
tree | 5472afae0575df6c097d8e34f08a07b84ffcf916 /include/llvm/CodeGen | |
parent | c8e77640a53823b233f3f7a5c2be12aef9ebc69e (diff) |
Revert r100143.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100146 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/MachineFunctionPass.h | 3 | ||||
-rw-r--r-- | include/llvm/CodeGen/Passes.h | 6 |
2 files changed, 2 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/MachineFunctionPass.h b/include/llvm/CodeGen/MachineFunctionPass.h index 1a2b12972a..bac110316d 100644 --- a/include/llvm/CodeGen/MachineFunctionPass.h +++ b/include/llvm/CodeGen/MachineFunctionPass.h @@ -34,9 +34,6 @@ protected: explicit MachineFunctionPass(intptr_t ID) : FunctionPass(ID) {} explicit MachineFunctionPass(void *ID) : FunctionPass(ID) {} - /// createPrinterPass - Get a machine function printer pass. - Pass *createPrinterPass(raw_ostream &O, const std::string &Banner) const; - /// runOnMachineFunction - This method must be overloaded to perform the /// desired machine code transformation or analysis. /// diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h index d3c2720c15..911be223b2 100644 --- a/include/llvm/CodeGen/Passes.h +++ b/include/llvm/CodeGen/Passes.h @@ -21,7 +21,6 @@ namespace llvm { class FunctionPass; - class MachineFunctionPass; class PassInfo; class TargetLowering; class RegisterCoalescer; @@ -37,9 +36,8 @@ namespace llvm { /// MachineFunctionPrinter pass - This pass prints out the machine function to /// the given stream, as a debugging tool. - MachineFunctionPass * - createMachineFunctionPrinterPass(raw_ostream &OS, - const std::string &Banner =""); + FunctionPass *createMachineFunctionPrinterPass(raw_ostream &OS, + const std::string &Banner =""); /// MachineLoopInfo pass - This pass is a loop analysis pass. /// |