aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-17 23:22:03 +0000
committerChris Lattner <sabre@nondot.org>2002-11-17 23:22:03 +0000
commit3b49394f4fa37f6a2086e5a91d934385baeeddbf (patch)
treec7de9fdef228298e47a478c3c80a0b7fc1cf2783
parentfe30dd3f2390c26fe1f83868cd57a1e6b27d3075 (diff)
downloadexternal_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.cpp5
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,