public abstract class AssemblerTest extends GraalTest
Modifier and Type | Class and Description |
---|---|
static interface |
AssemblerTest.CodeGenTest |
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
protected CodeCacheProvider |
codeCache |
private MetaAccessProvider |
metaAccess |
Constructor and Description |
---|
AssemblerTest() |
Modifier and Type | Method and Description |
---|---|
protected InstalledCode |
assembleMethod(Method m,
AssemblerTest.CodeGenTest test) |
protected void |
assertReturn(String methodName,
AssemblerTest.CodeGenTest test,
Object expected,
Object... args) |
MetaAccessProvider |
getMetaAccess() |
protected Object |
runTest(String methodName,
AssemblerTest.CodeGenTest test,
Object... args) |
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
private final MetaAccessProvider metaAccess
protected final CodeCacheProvider codeCache
public AssemblerTest()
public MetaAccessProvider getMetaAccess()
protected InstalledCode assembleMethod(Method m, AssemblerTest.CodeGenTest test)
protected Object runTest(String methodName, AssemblerTest.CodeGenTest test, Object... args)
protected void assertReturn(String methodName, AssemblerTest.CodeGenTest test, Object expected, Object... args)