From fa78fbf446b505767e838f9c188707183c57fc9c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 30 Oct 2002 00:46:48 +0000 Subject: [PATCH] Add support for structured printing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4432 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineInstr.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 048f884c66c..6b6b3255e38 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); -- 2.34.1