|
1 | 1 | /* |
2 | | - * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 | 4 | * |
5 | 5 | * This code is free software; you can redistribute it and/or modify it |
@@ -153,20 +153,20 @@ public void testUnexpectedIllegalValue() { |
153 | 153 | @Test(expected = JVMCIError.class) |
154 | 154 | public void testUnexpectedTypeInCPURegister() { |
155 | 155 | Register reg = getRegister(arch.getPlatformKind(JavaKind.Int), 0); |
156 | | - test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0); |
| 156 | + test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Void}, 1, 0, 0); |
157 | 157 | } |
158 | 158 |
|
159 | 159 | @Test(expected = JVMCIError.class) |
160 | 160 | public void testUnexpectedTypeInFloatRegister() { |
161 | 161 | Register reg = getRegister(arch.getPlatformKind(JavaKind.Float), 0); |
162 | | - test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0); |
| 162 | + test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Void}, 1, 0, 0); |
163 | 163 | } |
164 | 164 |
|
165 | 165 | @Test(expected = JVMCIError.class) |
166 | 166 | public void testUnexpectedTypeOnStack() { |
167 | 167 | ValueKind<?> kind = new TestValueKind(codeCache.getTarget().arch, JavaKind.Int); |
168 | 168 | StackSlot value = StackSlot.get(kind, 8, false); |
169 | | - test(new JavaValue[]{value}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0); |
| 169 | + test(new JavaValue[]{value}, new JavaKind[]{JavaKind.Void}, 1, 0, 0); |
170 | 170 | } |
171 | 171 |
|
172 | 172 | @Test(expected = JVMCIError.class) |
|
0 commit comments