summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-02 05:57:12 +0000
committerChris Lattner <sabre@nondot.org>2004-06-02 05:57:12 +0000
commit2150542af9c47a6c6614ec5900f7eb021211d8b5 (patch)
tree3b30ef91418e526cf08e4ccd73bd98dffc29b926 /llvm/lib/CodeGen/MachineInstr.cpp
parent185fa54c689ab5bb8f97ee776def598ccfa74566 (diff)
downloadbcm5719-llvm-2150542af9c47a6c6614ec5900f7eb021211d8b5.tar.gz
bcm5719-llvm-2150542af9c47a6c6614ec5900f7eb021211d8b5.zip
Adjust to new TargetMachine interface
llvm-svn: 13956
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 8d2cc932b2e..a75c5795b17 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -322,7 +322,7 @@ void MachineInstr::print(std::ostream &OS, const TargetMachine &TM) const {
OS << " = ";
++StartOp; // Don't print this operand again!
}
- OS << TM.getInstrInfo().getName(getOpcode());
+ OS << TM.getInstrInfo()->getName(getOpcode());
for (unsigned i = StartOp, e = getNumOperands(); i != e; ++i) {
const MachineOperand& mop = getOperand(i);
OpenPOWER on IntegriCloud