[llvm-commits] CVS: llvm/include/llvm/Target/MachineInstrInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Nov 17 17:22:04 PST 2002
Changes in directory llvm/include/llvm/Target:
MachineInstrInfo.h updated: 1.34 -> 1.35
---
Log message:
Make sure that print gets a targetmachine
CVS: ----------------------------------------------------------------------
---
Diffs of the changes:
Index: llvm/include/llvm/Target/MachineInstrInfo.h
diff -u llvm/include/llvm/Target/MachineInstrInfo.h:1.34 llvm/include/llvm/Target/MachineInstrInfo.h:1.35
--- llvm/include/llvm/Target/MachineInstrInfo.h:1.34 Sun Nov 17 16:54:55 2002
+++ llvm/include/llvm/Target/MachineInstrInfo.h Sun Nov 17 17:21:45 2002
@@ -98,7 +98,8 @@
/// target specific assembly language. If this method is not overridden, the
/// default implementation uses the crummy machine independant printer.
///
- virtual void print(const MachineInstr *MI, std::ostream &O) const;
+ virtual void print(const MachineInstr *MI, std::ostream &O,
+ const TargetMachine &TM) const;
const char *getName(MachineOpCode opCode) const {
return get(opCode).Name;
More information about the llvm-commits
mailing list