Package | Description |
---|---|
org.jikesrvm.osr | |
org.jikesrvm.osr.bytecodes |
Modifier and Type | Method and Description |
---|---|
private static PseudoBytecode |
ExecutionState.adjustStackHeight(PseudoBytecode last,
int height) |
private PseudoBytecode |
ExecutionState.processElement(VariableElement var,
PseudoBytecode tail,
int i) |
Modifier and Type | Method and Description |
---|---|
private static PseudoBytecode |
ExecutionState.adjustStackHeight(PseudoBytecode last,
int height) |
private int |
ExecutionState.computeStackHeight(PseudoBytecode head) |
private static byte[] |
ExecutionState.generateBinaries(PseudoBytecode bhead,
int bsize)
Generating binary code from pseudo code, the size and the code
list are padded and well calculated.
|
private static int |
ExecutionState.paddingBytecode(PseudoBytecode head)
Adds padding (NOP) at the beginning of pseudo bytecode
to make the new bytecode size dividable by 4, then no branch
target adjustment is needed in the original code.
|
private PseudoBytecode |
ExecutionState.processElement(VariableElement var,
PseudoBytecode tail,
int i) |
Modifier and Type | Class and Description |
---|---|
class |
AConstNull
aconst_null
|
class |
CheckCast
checkcast instruction
|
class |
DoubleStore
BC_DoubleStore:
dstore , dstore_<i> |
class |
FloatStore
BC_FloatStore:
fstore , fstore_<i> |
class |
Goto
goto instruction
|
class |
IntStore
BC_IntStore : {@code istore_
|
class |
InvokeCompiledMethod
invoke a compiled method
|
class |
InvokeStatic
Special invokestatic, with only two possible target
ObjectHolder.getRefAt and ObjectHolder.cleanRefs
indiced by GETREFAT and CLEANREFS.
|
class |
LoadDoubleConst
BC_LoadDoubleConst: ldc2_w
|
class |
LoadFloatConst
BC_LoadFloatConst: ldc, ldc_w
|
class |
LoadIntConst
load an integer constant on the stack
|
class |
LoadLongConst
load a long constant on the stack
|
class |
LoadRetAddrConst
artificial instruction, load a PC on the stack.
|
class |
LoadWordConst
load a word constant on the stack
|
class |
LongStore
BC_LongStore:
lstore , lstore_<n> |
class |
Nop
nop
|
class |
ParamInitEnd
LocalInitEnd
|
class |
Pop
pop
|
class |
RefStore
BC_RefStore:
astore , astore_<i> |
Modifier and Type | Field and Description |
---|---|
PseudoBytecode |
PseudoBytecode.next |