diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-17 23:22:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-17 23:22:03 +0000 |
commit | 3b49394f4fa37f6a2086e5a91d934385baeeddbf (patch) | |
tree | c7de9fdef228298e47a478c3c80a0b7fc1cf2783 | |
parent | fe30dd3f2390c26fe1f83868cd57a1e6b27d3075 (diff) | |
download | external_llvm-3b49394f4fa37f6a2086e5a91d934385baeeddbf.zip external_llvm-3b49394f4fa37f6a2086e5a91d934385baeeddbf.tar.gz external_llvm-3b49394f4fa37f6a2086e5a91d934385baeeddbf.tar.bz2 |
Pass on a targetmachine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4736 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/TargetInstrInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/Target/TargetInstrInfo.cpp index 5dca701..b14156a 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, |