public class SpecialCompiler extends Object
| Constructor and Description |
|---|
SpecialCompiler() |
| Modifier and Type | Method and Description |
|---|---|
static CompiledMethod |
baselineCompile(ExecutionState state)
Compiles the method with the baseline compiler.
|
static CompiledMethod |
optCompile(ExecutionState state)
generate prologue PSEUDO_bytecode from the state.
|
static CompiledMethod |
recompileState(ExecutionState state,
boolean invalidate)
recompile an execution state
|
public SpecialCompiler()
public static CompiledMethod recompileState(ExecutionState state, boolean invalidate)
state - a list of execution statesinvalidate - Is this an invalidation?public static CompiledMethod baselineCompile(ExecutionState state)
NOTE: this is different from optCompile which resets the bytecode after compilation. I believe this minimizes the work to change both compilers.
state - the execution state for the compilationpublic static CompiledMethod optCompile(ExecutionState state)
state - the execution state for the compilation