summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-30 00:46:48 +0000
committerChris Lattner <sabre@nondot.org>2002-10-30 00:46:48 +0000
commitfa78fbf446b505767e838f9c188707183c57fc9c (patch)
tree98ca91c8c3968239fc036057c14046fa339dde90 /include
parentdea73839f69b004314d223f75d136551132108cc (diff)
downloadllvm-fa78fbf446b505767e838f9c188707183c57fc9c.tar.gz
llvm-fa78fbf446b505767e838f9c188707183c57fc9c.tar.bz2
llvm-fa78fbf446b505767e838f9c188707183c57fc9c.tar.xz
Add support for structured printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 048f884c66..6b6b3255e3 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -16,6 +16,7 @@
class Value;
class Function;
class MachineBasicBlock;
+class TargetMachine;
typedef int MachineOpCode;
@@ -325,7 +326,8 @@ public:
//
// Debugging support
- //
+ //
+ void print(std::ostream &OS, const TargetMachine &TM);
void dump() const;
friend std::ostream& operator<<(std::ostream& os, const MachineInstr& minstr);