Mercurial > hg > truffle
comparison graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCControlFlow.java @ 12503:d7f8dd4fe876
minor reformatting based on 'mx eclipseformat'
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 21 Oct 2013 18:10:32 +0200 |
parents | 23ccaa863eda |
children | 1a66453f73db |
comparison
equal
deleted
inserted
replaced
12502:28f56bf7c06a | 12503:d7f8dd4fe876 |
---|---|
444 new Bpgu(CC.Icc, defaultTarget.label()).emit(masm); | 444 new Bpgu(CC.Icc, defaultTarget.label()).emit(masm); |
445 new Nop().emit(masm); // delay slot | 445 new Nop().emit(masm); // delay slot |
446 } | 446 } |
447 | 447 |
448 // Load jump table entry into scratch and jump to it | 448 // Load jump table entry into scratch and jump to it |
449 // masm.movslq(value, new AMD64Address(scratch, value, Scale.Times4, 0)); | 449 // masm.movslq(value, new AMD64Address(scratch, value, Scale.Times4, 0)); |
450 // masm.addq(scratch, value); | 450 // masm.addq(scratch, value); |
451 new Jmp(new SPARCAddress(scratch, 0)).emit(masm); | 451 new Jmp(new SPARCAddress(scratch, 0)).emit(masm); |
452 new Nop().emit(masm); // delay slot | 452 new Nop().emit(masm); // delay slot |
453 | 453 |
454 // address of jump table | 454 // address of jump table |
455 int tablePos = buf.position(); | 455 int tablePos = buf.position(); |