diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-21 21:12:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-21 21:12:58 +0000 |
commit | 3380d5c4aaafc3d78d32f583d685d64a67ae5224 (patch) | |
tree | 43398b6254f4325ea456d0bbb28b3a1a94cbbed5 /include/llvm/CodeGen/MachineFunction.h | |
parent | 7558f11849df6023d1256e46ea5c71b84ded5686 (diff) | |
download | external_llvm-3380d5c4aaafc3d78d32f583d685d64a67ae5224.tar.gz external_llvm-3380d5c4aaafc3d78d32f583d685d64a67ae5224.tar.bz2 external_llvm-3380d5c4aaafc3d78d32f583d685d64a67ae5224.zip |
revert r76602, 76603, and r76615, pending design discussions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 4937b23a6d..ea6a384d22 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -20,7 +20,6 @@ #include "llvm/ADT/ilist.h" #include "llvm/Support/DebugLoc.h" -#include "llvm/Support/Dump.h" #include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/Support/Annotation.h" #include "llvm/Support/Allocator.h" @@ -208,12 +207,8 @@ public: /// print - Print out the MachineFunction in a format suitable for debugging /// to the specified stream. /// - void print(std::ostream &OS, - const PrefixPrinter &prefix = PrefixPrinter()) const; - void print(std::ostream *OS, - const PrefixPrinter &prefix = PrefixPrinter()) const { - if (OS) print(*OS, prefix); - } + void print(std::ostream &OS) const; + void print(std::ostream *OS) const { if (OS) print(*OS); } /// viewCFG - This function is meant for use from the debugger. You can just /// say 'call F->viewCFG()' and a ghostview window should pop up from the |