This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Class and Description |
---|---|
public static class | Code.
A chain represents a list of unresolved jumps. |
pack-priv static class | Code.
A live range of a local variable. |
private static class | |
public static enum | |
pack-priv static class | Code.
An entry in the stack map. |
pack-priv class |
Modifier and Type | Field and Description |
---|---|
private boolean | alive
Code generation enabled? |
pack-priv ListBuffer | catchInfo
A buffer for expression catch data. |
public byte[] | code
The code buffer. |
public int | cp
the current code pointer. |
public CRTable | crt
The CharacterRangeTable |
public final boolean | |
public boolean | fatcode
Are we generating code with jumps ≥ 32K? |
private boolean | fixedPc
Is it forbidden to compactify code, because something is pointing to current location? |
pack-priv Code. | frameBeforeLast
The stack map frame before the last one. |
pack-priv static final Type | |
pack-priv Code. | lastFrame
The last stack map frame in StackMapTable. |
pack-priv int | lastStackMapPC
The last PC at which we generated a stack map. |
private int | |
pack-priv boolean | lineDebugInfo
Switch: emit line number info. |
pack-priv List | lineInfo
A buffer for line number information. |
pack-priv Position. | lineMap
Emit line number info if map supplied |
pack-priv Code. | lvar
Local variables, indexed by register. |
public int | max_locals
The maximum number of local variable slots. |
public int | max_stack
The maximum stack size. |
pack-priv final Symbol. | |
public final boolean | |
public int | nextreg
The next available register. |
pack-priv Code. | pendingJumps
A chain for jumps to be resolved before the next opcode is emitted. |
pack-priv boolean | pendingStackMap
Set true when a stackMap is needed at the current PC. |
pack-priv int | pendingStatPos
The position of the currently statement, if we are at the start of this statement, NOPOS otherwise. |
pack-priv final PoolWriter | |
pack-priv Code. | stackMap
The stack map format to be generated. |
pack-priv Code. | stackMapBuffer
A buffer of cldc stack map entries. |
pack-priv int | |
pack-priv ClassWriter. | stackMapTableBuffer
A buffer of compressed StackMapTable entries. |
pack-priv Code. | state
The current machine state (registers and stack). |
pack-priv final Symtab | |
pack-priv final Types | |
pack-priv Code. | varBuffer
Previously live local variables, to be put into the variable table. |
pack-priv int | |
pack-priv boolean | varDebugInfo
Switch: emit variable debug info. |
Access | Constructor and Description |
---|---|
public | Code(Symbol.
Construct a code object, given the settings of the fatcode, debugging info switches and the CharacterRangeTable. |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | |
private void | |
pack-priv void | |
public void | |
private int[] | |
public static int | |
public Code. | |
public boolean | checkLimits(JCDiagnostic.
Check the code against VM spec limits; if problems report them and return true. |
public void | |
public int | |
private void | |
private void | |
public void | |
public void | |
pack-priv void | |
public void | emitInvokedynamic(Symbol.
Emit an invokedynamic instruction. |
public void | |
public void | |
public void | |
public void | |
public int | |
public void | emitLdc(PoolConstant.
Emit a ldc (or ldc_w) instruction, taking into account operand size |
public void | |
public void | |
private void | |
public void | |
public void | |
public void | |
public void | emitop1w(int op, int od)
Emit an opcode with a one-byte operand field; widen if field does not fit in a byte. |
public void | emitop1w(int op, int od1, int od2)
Emit an opcode with two one-byte operand fields; widen if either field does not fit in a byte. |
public <P extends PoolConstant> void | emitop2(int op, P constant, ToIntBiFunction<PoolWriter, P> poolFunc)
Emit an opcode with a two-byte operand field. |
public void | |
public void | |
public void | |
public void | |
pack-priv void | |
private void | |
public void | |
public int | |
public int | |
public int | entryPoint(Code.
Declare an entry point with initial state plus a pushed value; return current code pointer |
public void | |
private void | |
private int | |
private int | |
private int | |
public int | |
pack-priv Code. | |
private int | |
public int | |
public boolean | |
public boolean | |
public void | |
public void | |
public static Code. | |
public static String | |
public static int | |
private int | |
private int | |
public int | |
public void | |
pack-priv void | |
private void | |
private void | |
public void | |
pack-priv void | |
public void | |
public void | |
public void | |
public void | |
public void | |
public int | |
public void | |
public void | |
public static int | |
public static int | |
public static int | |
public static int | |
public static int |