8287491: compiler/jvmci/errors/TestInvalidDebugInfo.java fails new assert: assert((uint)t < T_CONFLICT + 1) failed: invalid type #

Reviewed-by: kvn, dnsimon
This commit is contained in:
Yasumasa Suenaga 2022-06-01 14:41:23 +00:00
parent f8eb7a892f
commit e3791ecfe4
2 changed files with 4 additions and 5 deletions

View File

@ -46,7 +46,6 @@
compiler/ciReplay/TestSAServer.java 8029528 generic-all
compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java 8225370 generic-all
compiler/jvmci/compilerToVM/GetFlagValueTest.java 8204459 generic-all
compiler/jvmci/errors/TestInvalidDebugInfo.java 8287491 generic-all
compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java 8262901 macosx-aarch64
compiler/tiered/LevelTransitionTest.java 8067651 generic-all

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -153,20 +153,20 @@ public class TestInvalidDebugInfo extends CodeInstallerTest {
@Test(expected = JVMCIError.class)
public void testUnexpectedTypeInCPURegister() {
Register reg = getRegister(arch.getPlatformKind(JavaKind.Int), 0);
test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0);
test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Void}, 1, 0, 0);
}
@Test(expected = JVMCIError.class)
public void testUnexpectedTypeInFloatRegister() {
Register reg = getRegister(arch.getPlatformKind(JavaKind.Float), 0);
test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0);
test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Void}, 1, 0, 0);
}
@Test(expected = JVMCIError.class)
public void testUnexpectedTypeOnStack() {
ValueKind<?> kind = new TestValueKind(codeCache.getTarget().arch, JavaKind.Int);
StackSlot value = StackSlot.get(kind, 8, false);
test(new JavaValue[]{value}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0);
test(new JavaValue[]{value}, new JavaKind[]{JavaKind.Void}, 1, 0, 0);
}
@Test(expected = JVMCIError.class)