From 43534443ff15adb604bf48b74a5a9f5eb9b0d942 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sat, 20 Oct 2001 20:56:40 +0000 Subject: [PATCH] Minor bug fix in printing operands of JMPL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@926 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/SparcV9AsmPrinter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp index aa676301e48..6c6d3a3de89 100644 --- a/lib/Target/SparcV9/SparcV9AsmPrinter.cpp +++ b/lib/Target/SparcV9/SparcV9AsmPrinter.cpp @@ -166,9 +166,9 @@ void SparcAsmPrinter::emitMachineInst(const MachineInstr *MI) { assert(MI->getNumOperands() == 3 && "Unexpected JMPL instr!"); printOperand(MI->getOperand(0)); Out << "+"; - printOperand(MI->getOperand(0)); + printOperand(MI->getOperand(1)); Out << ", "; - printOperand(MI->getOperand(0)); + printOperand(MI->getOperand(2)); Out << endl; return; default: break;