object InstructionStackEffect
- Alphabetic
- By Inheritance
- InstructionStackEffect
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def cons(i: Int): Int
- val consShift: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forAsmAnalysis[V <: Value](insn: AbstractInsnNode, frame: Frame[V]): Int
Returns the number of stack values consumed and produced by
insn
, encoded in a singleInt
(thecons
/prod
extract individual values).Returns the number of stack values consumed and produced by
insn
, encoded in a singleInt
(thecons
/prod
extract individual values). The returned values are correct for use in asm's Analyzer framework. For example, a LLOAD instruction produces one stack value. See also doc inanalysis
package object.This method requires the
frame
to be in the state **before** executing / interpreting theinsn
. - def forClassfile(insn: AbstractInsnNode): Int
Returns the number of stack values consumed and produced by
insn
, encoded in a singleInt
(thecons
/prod
extract individual values).Returns the number of stack values consumed and produced by
insn
, encoded in a singleInt
(thecons
/prod
extract individual values). The returned values are correct for writing into a classfile (see doc on theanalysis
package object). - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maxStackGrowth(insn: AbstractInsnNode): Int
Returns the maximal possible growth of the stack when executing
insn
.Returns the maximal possible growth of the stack when executing
insn
. The returned value is usually the same as expected by asm's Analyzer framework, but it may be larger. For example, consider a POP2 instruction:- if two size-1 values are popped, then the asm Analyzer consumes two values
- if a size-2 value is popped, the asm Analyzer consumes only one stack slot (see doc in the
analysis
package object)
If a precise result is needed, invoke the
forAsmAnalysis
and provide aframe
value that allows looking up the sizes of values on the stack. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prod(i: Int): Int
- val prodMask: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
The Scala compiler and reflection APIs.