mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8148741: compiler/jvmci/code/SimpleDebugInfoTest.java fails in 'frame::sender_for_compiled_frame'
Reviewed-by: twisti
This commit is contained in:
parent
663e1a5c6d
commit
7cf2c51fa7
5 changed files with 42 additions and 2 deletions
|
@ -32,7 +32,9 @@ import jdk.vm.ci.code.site.DataSectionReference;
|
|||
import jdk.vm.ci.hotspot.HotSpotCallingConventionType;
|
||||
import jdk.vm.ci.hotspot.HotSpotCompiledCode;
|
||||
import jdk.vm.ci.hotspot.HotSpotConstant;
|
||||
import jdk.vm.ci.hotspot.HotSpotForeignCallTarget;
|
||||
import jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod;
|
||||
import jdk.vm.ci.hotspot.HotSpotVMConfig;
|
||||
import jdk.vm.ci.meta.JavaKind;
|
||||
import jdk.vm.ci.meta.LIRKind;
|
||||
import jdk.vm.ci.meta.VMConstant;
|
||||
|
@ -71,6 +73,14 @@ public class SPARCTestAssembler extends TestAssembler {
|
|||
setDeoptRescueSlot(newStackSlot(LIRKind.value(SPARCKind.XWORD)));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void emitEpilogue() {
|
||||
HotSpotVMConfig config = HotSpotVMConfig.config();
|
||||
recordMark(config.MARKID_DEOPT_HANDLER_ENTRY);
|
||||
recordCall(new HotSpotForeignCallTarget(config.handleDeoptStub), 4, true, null);
|
||||
code.emitInt(1 << 30); // CALL
|
||||
}
|
||||
|
||||
@Override
|
||||
public HotSpotCompiledCode finish(HotSpotResolvedJavaMethod method) {
|
||||
frameSize += SPARC.REGISTER_SAFE_AREA_SIZE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue