From: Chris Lattner Date: Wed, 30 Oct 2002 00:46:48 +0000 (+0000) Subject: Add support for structured printing X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fa78fbf446b505767e838f9c188707183c57fc9c;p=oota-llvm.git Add support for structured printing git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4432 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);