[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 29 11:36:06 PST 2002
Changes in directory llvm/lib/CodeGen:
MachineInstr.cpp updated: 1.55 -> 1.56
---
Log message:
Use higher level methods, don't use TargetInstrDescriptors directly!
---
Diffs of the changes:
Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.55 llvm/lib/CodeGen/MachineInstr.cpp:1.56
--- llvm/lib/CodeGen/MachineInstr.cpp:1.55 Mon Oct 28 15:17:19 2002
+++ llvm/lib/CodeGen/MachineInstr.cpp Tue Oct 29 11:35:39 2002
@@ -157,7 +157,7 @@
std::ostream &operator<<(std::ostream& os, const MachineInstr& minstr)
{
- os << TargetInstrDescriptors[minstr.opCode].opCodeString;
+ os << TargetInstrDescriptors[minstr.opCode].Name;
for (unsigned i=0, N=minstr.getNumOperands(); i < N; i++) {
os << "\t" << minstr.getOperand(i);
More information about the llvm-commits
mailing list