mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8142387: Various JVMCI tests fail on unexpected exception
Reviewed-by: iignatyev, twisti
This commit is contained in:
parent
6896030b96
commit
eee22b283d
4 changed files with 30 additions and 24 deletions
|
@ -71,6 +71,12 @@ public class CodeInstallerTest {
|
|||
codeCache.addCode(dummyMethod, result, null, null);
|
||||
}
|
||||
|
||||
protected CompilationResult createEmptyCompilationResult() {
|
||||
CompilationResult ret = new CompilationResult();
|
||||
ret.setTotalFrameSize(0);
|
||||
return ret;
|
||||
}
|
||||
|
||||
protected Register getRegister(PlatformKind kind, int index) {
|
||||
Register[] allRegs = arch.getAvailableValueRegisters();
|
||||
for (int i = 0; i < allRegs.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue