diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-29 17:35:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-29 17:35:39 +0000 |
commit | 660bf10981ebea09177dcdaa0dfa1670eef38ee8 (patch) | |
tree | 6121da5d252e4474907d33000ad6910585ab3218 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 353b60a8721f96b8a445974cb0d7df5c2f660ecc (diff) | |
download | bcm5719-llvm-660bf10981ebea09177dcdaa0dfa1670eef38ee8.tar.gz bcm5719-llvm-660bf10981ebea09177dcdaa0dfa1670eef38ee8.zip |
Use higher level methods, don't use TargetInstrDescriptors directly!
llvm-svn: 4389
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 4e340d3439d..6371d8dbc7e 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -157,7 +157,7 @@ OutputReg(std::ostream &os, unsigned int regNum) 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); |