Mercurial > hg > truffle
comparison graal/com.oracle.graal.lir.sparc/src/com/oracle/graal/lir/sparc/SPARCControlFlow.java @ 11760:ce0b00597980
made safepoint-on-return use specialized HotSpot runtime support for such safepoints (which have no debug info attached)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 24 Sep 2013 08:51:02 +0200 |
parents | 5a9d68c3a7d7 |
children | 23ccaa863eda |
comparison
equal
deleted
inserted
replaced
11759:8bcd76c3f23b | 11760:ce0b00597980 |
---|---|
245 this.x = x; | 245 this.x = x; |
246 } | 246 } |
247 | 247 |
248 @Override | 248 @Override |
249 public void emitCode(TargetMethodAssembler tasm, SPARCMacroAssembler masm) { | 249 public void emitCode(TargetMethodAssembler tasm, SPARCMacroAssembler masm) { |
250 emitCodeHelper(tasm, masm); | |
251 } | |
252 | |
253 public static void emitCodeHelper(TargetMethodAssembler tasm, SPARCMacroAssembler masm) { | |
250 new Ret().emit(masm); | 254 new Ret().emit(masm); |
251 // On SPARC we always leave the frame. | 255 // On SPARC we always leave the frame (in the delay slot). |
252 tasm.frameContext.leave(tasm); | 256 tasm.frameContext.leave(tasm); |
253 } | 257 } |
254 } | 258 } |
255 | 259 |
256 public static class SequentialSwitchOp extends SPARCLIRInstruction implements FallThroughOp { | 260 public static class SequentialSwitchOp extends SPARCLIRInstruction implements FallThroughOp { |