public class BytecodeInterpreterPartialEvaluationTest extends PartialEvaluationTest
Modifier and Type | Class and Description |
---|---|
static class |
BytecodeInterpreterPartialEvaluationTest.Bytecode |
static class |
BytecodeInterpreterPartialEvaluationTest.Inst |
static class |
BytecodeInterpreterPartialEvaluationTest.InstArrayProgram |
static class |
BytecodeInterpreterPartialEvaluationTest.InstArrayProgram2
Slightly modified version to expose a partial evaluation bug with ExplodeLoop(merge=true).
|
static class |
BytecodeInterpreterPartialEvaluationTest.Program |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
static boolean |
TRACE |
lastCompiledGraph
Constructor and Description |
---|
BytecodeInterpreterPartialEvaluationTest() |
Modifier and Type | Method and Description |
---|---|
private void |
assertPartialEvalEqualsAndRunsCorrect(com.oracle.truffle.api.nodes.RootNode program) |
private static void |
assertReturns42(com.oracle.truffle.api.nodes.RootNode program) |
void |
constAddProgram() |
static Object |
constant42() |
void |
constReturnProgram() |
void |
ifAndPopProgram() |
void |
instArraySimpleIfProgram() |
void |
instArraySimpleIfProgram2() |
void |
manyIfsProgram() |
void |
nestedLoopsProgram() |
void |
simpleIfProgram() |
void |
simpleLoopProgram() |
assertPartialEvalEquals, assertPartialEvalEquals, assertPartialEvalNoInvokes, assertPartialEvalNoInvokes, compileHelper, parseForComparison, partialEval, removeFrameStates
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkHighTierGraph, checkLowTierGraph, checkMidTierGraph, compile, countUnusedConstants, createLIRSuites, createSuites, editGraphBuilderConfiguration, executeActual, executeActualCheckDeopt, executeExpected, getBackend, getCanonicalGraphString, getCode, getCode, getCode, getCodeCache, getConstantReflection, getCustomGraphBuilderSuite, getDefaultGraphBuilderPlugins, getDefaultGraphBuilderSuite, getDefaultHighTierContext, getLIRSuites, getLowerer, getMetaAccess, getNodeCountExcludingUnusedConstants, getProviders, getReplacements, getResolvedJavaMethod, getResolvedJavaMethod, getResolvedJavaMethod, getSnippetReflection, getSpeculationLog, getSuites, getTarget, initializeDebugging, invoke, isArchitecture, iterationCount, lookupMethod, parseDebug, parseEager, parseEager, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
public static boolean TRACE
public BytecodeInterpreterPartialEvaluationTest()
public static Object constant42()
private static void assertReturns42(com.oracle.truffle.api.nodes.RootNode program)
private void assertPartialEvalEqualsAndRunsCorrect(com.oracle.truffle.api.nodes.RootNode program)
public void constReturnProgram()
public void constAddProgram()
public void simpleIfProgram()
public void ifAndPopProgram()
public void simpleLoopProgram()
public void nestedLoopsProgram()
public void manyIfsProgram()
public void instArraySimpleIfProgram()
public void instArraySimpleIfProgram2()