diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-30 00:46:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-30 00:46:48 +0000 |
commit | fa78fbf446b505767e838f9c188707183c57fc9c (patch) | |
tree | 98ca91c8c3968239fc036057c14046fa339dde90 /include/llvm/CodeGen/MachineInstr.h | |
parent | dea73839f69b004314d223f75d136551132108cc (diff) |
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/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 4 |
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); |