summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit528781d9ff612a29a46f109973b7f862775317a7 (patch)
tree0d170c1ce3d54b1699f7a3fc076563372d13f140 /llvm
parentb7e661059b7633ea90f192f69ea9433e962f25cb (diff)
downloadbcm5719-llvm-528781d9ff612a29a46f109973b7f862775317a7.tar.gz
bcm5719-llvm-528781d9ff612a29a46f109973b7f862775317a7.zip
Add support for structured printing
llvm-svn: 4432
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/MachineInstr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h
index 048f884c66c..6b6b3255e38 100644
--- a/llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud