mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Split JMPL into JMPLCALL and JMPLRET.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -164,7 +164,8 @@ void SparcAsmPrinter::emitMachineInst(const MachineInstr *MI) {
|
|||||||
Out << "\t" << TargetInstrDescriptors[Opcode].opCodeString << "\t";
|
Out << "\t" << TargetInstrDescriptors[Opcode].opCodeString << "\t";
|
||||||
|
|
||||||
switch (Opcode) { // Some opcodes have special syntax...
|
switch (Opcode) { // Some opcodes have special syntax...
|
||||||
case JMPL:
|
case JMPLCALL:
|
||||||
|
case JMPLRET:
|
||||||
assert(MI->getNumOperands() == 3 && "Unexpected JMPL instr!");
|
assert(MI->getNumOperands() == 3 && "Unexpected JMPL instr!");
|
||||||
printOperand(MI->getOperand(0));
|
printOperand(MI->getOperand(0));
|
||||||
Out << "+";
|
Out << "+";
|
||||||
|
Reference in New Issue
Block a user