8146100: compiler/jvmci/code/SimpleCodeInstallationTest.java JUnit Failure: expected:<12> but was:<109710641>
Reviewed-by: kvn
This commit is contained in:
parent
066e504bba
commit
ffa21cb2b2
@ -34,8 +34,10 @@ import jdk.vm.ci.code.DebugInfo;
|
||||
import jdk.vm.ci.code.InfopointReason;
|
||||
import jdk.vm.ci.code.Register;
|
||||
import jdk.vm.ci.code.StackSlot;
|
||||
import jdk.vm.ci.code.CallingConvention.Type;
|
||||
import jdk.vm.ci.hotspot.HotSpotConstant;
|
||||
import jdk.vm.ci.meta.JavaConstant;
|
||||
import jdk.vm.ci.meta.JavaKind;
|
||||
import jdk.vm.ci.meta.LIRKind;
|
||||
import jdk.vm.ci.meta.VMConstant;
|
||||
|
||||
@ -61,11 +63,11 @@ public class AMD64TestAssembler extends TestAssembler {
|
||||
}
|
||||
|
||||
public Register emitIntArg0() {
|
||||
return AMD64.rsi;
|
||||
return codeCache.getRegisterConfig().getCallingConventionRegisters(Type.JavaCall, JavaKind.Int)[0];
|
||||
}
|
||||
|
||||
public Register emitIntArg1() {
|
||||
return AMD64.rdx;
|
||||
return codeCache.getRegisterConfig().getCallingConventionRegisters(Type.JavaCall, JavaKind.Int)[1];
|
||||
}
|
||||
|
||||
private void emitREX(boolean w, int r, int x, int b) {
|
||||
|
@ -32,8 +32,10 @@ import jdk.vm.ci.code.DebugInfo;
|
||||
import jdk.vm.ci.code.InfopointReason;
|
||||
import jdk.vm.ci.code.Register;
|
||||
import jdk.vm.ci.code.StackSlot;
|
||||
import jdk.vm.ci.code.CallingConvention.Type;
|
||||
import jdk.vm.ci.hotspot.HotSpotConstant;
|
||||
import jdk.vm.ci.meta.JavaConstant;
|
||||
import jdk.vm.ci.meta.JavaKind;
|
||||
import jdk.vm.ci.meta.LIRKind;
|
||||
import jdk.vm.ci.meta.VMConstant;
|
||||
import jdk.vm.ci.sparc.SPARC;
|
||||
@ -80,11 +82,11 @@ public class SPARCTestAssembler extends TestAssembler {
|
||||
}
|
||||
|
||||
public Register emitIntArg0() {
|
||||
return SPARC.i0;
|
||||
return codeCache.getRegisterConfig().getCallingConventionRegisters(Type.JavaCallee, JavaKind.Int)[0];
|
||||
}
|
||||
|
||||
public Register emitIntArg1() {
|
||||
return SPARC.i1;
|
||||
return codeCache.getRegisterConfig().getCallingConventionRegisters(Type.JavaCallee, JavaKind.Int)[1];
|
||||
}
|
||||
|
||||
public Register emitLoadInt(int c) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user