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 | d9512caca8ec1e5488cdc94b34986c8ab2d447bb (patch) | |
tree | ae1cf4bb0b6eeaebbaf18cf5f9708c818d74e7a1 /lib/CodeGen/MachineInstr.cpp | |
parent | 4683f9bfb4dc2f5557e8a7a229912e7f2ed366ca (diff) | |
download | external_llvm-d9512caca8ec1e5488cdc94b34986c8ab2d447bb.zip external_llvm-d9512caca8ec1e5488cdc94b34986c8ab2d447bb.tar.gz external_llvm-d9512caca8ec1e5488cdc94b34986c8ab2d447bb.tar.bz2 |
Use higher level methods, don't use TargetInstrDescriptors directly!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 4e340d3..6371d8d 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/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); |