aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-23 00:47:04 +0000
committerChris Lattner <sabre@nondot.org>2009-08-23 00:47:04 +0000
commit2d8e3d20be377112999670f210200b3658762571 (patch)
tree3d5bc32c0b4ca5bdcad5b0f298dd59f738c278e5 /include/llvm/CodeGen/MachineFunction.h
parent77942d4ee47e76626d574b027e4b9c5c90e2bbf4 (diff)
downloadexternal_llvm-2d8e3d20be377112999670f210200b3658762571.tar.gz
external_llvm-2d8e3d20be377112999670f210200b3658762571.tar.bz2
external_llvm-2d8e3d20be377112999670f210200b3658762571.zip
remove dead PrefixPrinter class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineFunction.h')
-rw-r--r--include/llvm/CodeGen/MachineFunction.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h
index 0d15a95979..e4681d9292 100644
--- a/include/llvm/CodeGen/MachineFunction.h
+++ b/include/llvm/CodeGen/MachineFunction.h
@@ -18,13 +18,12 @@
#ifndef LLVM_CODEGEN_MACHINEFUNCTION_H
#define LLVM_CODEGEN_MACHINEFUNCTION_H
-#include <map>
+#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/ADT/ilist.h"
#include "llvm/Support/DebugLoc.h"
-#include "llvm/CodeGen/Dump.h"
-#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/Recycler.h"
+#include <map>
namespace llvm {
@@ -208,11 +207,9 @@ 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