[llvm-commits] CVS: llvm/lib/Target/MachineInstrInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 17 17:23:01 PST 2002
Changes in directory llvm/lib/Target:
MachineInstrInfo.cpp updated: 1.4 -> 1.5
---
Log message:
Pass on a targetmachine
---
Diffs of the changes:
Index: llvm/lib/Target/MachineInstrInfo.cpp
diff -u llvm/lib/Target/MachineInstrInfo.cpp:1.4 llvm/lib/Target/MachineInstrInfo.cpp:1.5
--- llvm/lib/Target/MachineInstrInfo.cpp:1.4 Sun Nov 17 16:53:03 2002
+++ llvm/lib/Target/MachineInstrInfo.cpp Sun Nov 17 17:22:03 2002
@@ -33,8 +33,9 @@
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,
More information about the llvm-commits
mailing list