From f0a1010d2c493763be273074f02ef433276cf63e 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 llvm-svn: 4736 --- 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,