From: Vikram S. Adve Date: Sat, 20 Oct 2001 20:56:40 +0000 (+0000) Subject: Minor bug fix in printing operands of JMPL. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=43534443ff15adb604bf48b74a5a9f5eb9b0d942;p=oota-llvm.git 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 --- 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;