From 3b49394f4fa37f6a2086e5a91d934385baeeddbf Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 17 Nov 2002 23:22:03 +0000 Subject: [PATCH] Pass on a targetmachine git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4736 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/TargetInstrInfo.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/Target/TargetInstrInfo.cpp index 5dca701be8e..b14156a9377 100644 --- a/lib/Target/TargetInstrInfo.cpp +++ b/lib/Target/TargetInstrInfo.cpp @@ -33,8 +33,9 @@ MachineInstrInfo::~MachineInstrInfo() { TargetInstrDescriptors = NULL; // reset global variable } -void MachineInstrInfo::print(const MachineInstr *MI, std::ostream &O) const { - O << *MI; +void MachineInstrInfo::print(const MachineInstr *MI, std::ostream &O, + const TargetMachine &TM) const { + MI->print(O, TM); } bool MachineInstrInfo::constantFitsInImmedField(MachineOpCode opCode,