object OpCode
- Alphabetic
- By Inheritance
- OpCode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class BinaryOp(dataType: DataType, op: BinaryOperation) extends OpCode with Product with Serializable
Executes a binary operation.
- case class Cast(from: DataType, to: DataType) extends OpCode with Product with Serializable
Casts types
- case class Constant(value: SingleElementBundle) extends OpCode with Product with Serializable
Push a Constant to the stack.
- case class Equals(dataType: DataType) extends OpCode with Product with Serializable
Compares two elements, pushes true if equal.
- case class Get(id: Int) extends OpCode with Product with Serializable
Gets an input element and pushes it on to the stack.
- case class StructGet(idx: Int) extends OpCode with Product with Serializable
Fetch an element from a struct.
- case class UnpackNullableJump(offset: Int, drop: Int = 0) extends OpCode with Product with Serializable
Unpack a nullable value, if it's a null then emits a null and jump for a given offset
Unpack a nullable value, if it's a null then emits a null and jump for a given offset
- drop
if not null, then additional n elements are dropped from the stack
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val AndCode: String
- val ArrayGetCode: String
- val ArraySizeCode: String
- val BinaryOpCode: String
- val CastCode: String
- val ConstantCode: String
- val EqualsCode: String
- val GetCode: String
- val IsNullCode: String
- val NegCode: String
- val OrCode: String
- val PackNullableCode: String
- val PopCode: String
- val ReturnOnFalseCode: String
- val StructGetCode: String
- val UnpackNullableJumpCode: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object And extends OpCode with Product with Serializable
Consumes two booleans, returns true if both are true.
- case object ArrayGet extends OpCode with Product with Serializable
- case object ArraySize extends OpCode with Product with Serializable
- case object IsNull extends OpCode with Product with Serializable
Consumes one value and returns true if it was null
- case object Neg extends OpCode with Product with Serializable
Negate a boolean expression.
- case object Or extends OpCode with Product with Serializable
Consumes two booleans, returns true if one of them is true.
- case object PackNullable extends OpCode with Product with Serializable
Wraps a value into a Nullable.
Wraps a value into a Nullable. (Note: some platforms may do nothing here, if they dont distinguish between Nullable and Value itself.
- case object Pop extends OpCode with Product with Serializable
Just pop an element from the stack.
- case object ReturnOnFalse extends OpCode with Product with Serializable
Returns if false is on the stack, does not consume