This class represents a CALL_METHOD instruction STYLE: dynamic / static(StaticInstance) Stack: .
This class represents a CALL_METHOD instruction STYLE: dynamic / static(StaticInstance) Stack: ...:ref:arg1:arg2:...:argn ->: ...:result
STYLE: static(StaticClass) Stack: ...:arg1:arg2:...:argn ->: ...:result
Call a primitive function.
Call a primitive function. Stack: ...:arg1:arg2:...:argn ->: ...:result
This class represents a CHECK_CAST instruction Stack: .
This class represents a CHECK_CAST instruction Stack: ...:ref(oldtype) ->: ...:ref(typ <=: oldtype)
This class represents a CJUMP instruction It compares the two values on the stack with the 'cond' test operator Stack: .
This class represents a CJUMP instruction It compares the two values on the stack with the 'cond' test operator Stack: ...:value1:value2 ->: ...
Loads a constant on the stack.
Loads a constant on the stack. Stack: ... ->: ...:constant
This class represents a CREATE_ARRAY instruction Stack: .
This class represents a CREATE_ARRAY instruction Stack: ...:size_1:size_2:..:size_n ->: ...:arrayref
This class represents a CZJUMP instruction It compares the one value on the stack and zero with the 'cond' test operator Stack: .
This class represents a CZJUMP instruction It compares the one value on the stack and zero with the 'cond' test operator Stack: ...:value: ->: ...
This class represents a DROP instruction Stack: .
This class represents a DROP instruction Stack: ...:something ->: ...
This class represents a DUP instruction Stack: .
This class represents a DUP instruction Stack: ...:something ->: ...:something:something
A place holder entry that allows us to parse class files with invoke dynamic instructions.
A place holder entry that allows us to parse class files with invoke dynamic instructions. Because the compiler doesn't yet really understand the behavior of invokeDynamic, this op acts as a poison pill. Any attempt to analyze this instruction will cause a failure. The only optimization that should ever look at non-Scala generated icode is the inliner, and it has been modified to not examine any method with invokeDynamic instructions. So if this poison pill ever causes problems then there's been a serious misunderstanding
This class represents a IS_INSTANCE instruction Stack: .
This class represents a IS_INSTANCE instruction Stack: ...:ref ->: ...:result(boolean)
This class represents a method invocation style.
This class represents a JUMP instruction Stack: .
This class represents a JUMP instruction Stack: ... ->: ...
Loads an element of an array.
Loads an element of an array. The array and the index should be on top of the stack. Stack: ...:array[a](Ref):index(Int) ->: ...:element(a)
Fake instruction.
Fake instruction. It designates the VM who pushes an exception on top of the /empty/ stack at the beginning of each exception handler. Note: Unlike other instructions, it consumes all elements on the stack! then pushes one exception instance.
Load a field on the stack.
Load a field on the stack. The object to which it refers should be on the stack. Stack: ...:ref (assuming isStatic = false) ->: ...:value
Load a local variable on the stack.
Load a local variable on the stack. It can be a method argument. Stack: ... ->: ...:value
This class represents a MONITOR_ENTER instruction Stack: .
This class represents a MONITOR_ENTER instruction Stack: ...:object(ref) ->: ...:
This class represents a MONITOR_EXIT instruction Stack: .
This class represents a MONITOR_EXIT instruction Stack: ...:object(ref) ->: ...:
Create a new instance of a class through the specified constructor Stack: .
Create a new instance of a class through the specified constructor Stack: ...:arg1:arg2:...:argn ->: ...:ref
This class represents a RETURN instruction Stack: .
This class represents a RETURN instruction Stack: ... ->: ...
A local variable becomes visible at this point in code.
A local variable becomes visible at this point in code. Used only for generating precise local variable tables as debugging information.
A local variable leaves its scope at this point in code.
A local variable leaves its scope at this point in code. Used only for generating precise local variable tables as debugging information.
Store a value into an array at a specified index.
Store a value into an array at a specified index. Stack: ...:array[a](Ref):index(Int):value(a) ->: ...
Store a value into a field.
Store a value into a field. Stack: ...:ref:value (assuming isStatic=false) ->: ...
Store a value into a local variable.
Store a value into a local variable. It can be an argument. Stack: ...:value ->: ...
Store a value into the 'this' pointer.
Store a value into the 'this' pointer. Stack: ...:ref ->: ...
This class represents a SWITCH instruction Stack: .
This class represents a SWITCH instruction Stack: ...:index(int) ->: ...:
The tags array contains one entry per label, each entry consisting of an array of ints, any of which will trigger the jump to the corresponding label. labels should contain an extra label, which is the 'default' jump.
Special invoke:
Static(true) is used for calls to private members, ie invokespecial
on JVM.
Special invoke:
Static(true) is used for calls to private members, ie invokespecial
on JVM.
Static(false) is used for calls to class-level instance-less static methods, ie invokestatic
on JVM.
Call through super[mix].
Call through super[mix].
On JVM, translated to invokespecial
.
Loads "this" on top of the stack.
Loads "this" on top of the stack. Stack: ... ->: ...:ref
This class represents a THROW instruction Stack: .
This class represents a THROW instruction Stack: ...:Throwable(Ref) ->: ...:
Virtual calls.
Virtual calls.
On JVM, translated to either invokeinterface
or invokevirtual
.