Packages

case class Local(local: Int, opcodeOffset: Int) extends Product with Serializable

Stores a local variable index the opcode offset required for operating on that variable.

The xLOAD / xSTORE opcodes are in the following sequence: I, L, F, D, A, so the offset for a local variable holding a reference (A) is 4. See also method getOpcode in scala.tools.asm.Type.

Source
ClosureOptimizer.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Local
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Local(local: Int, opcodeOffset: Int)

Value Members

  1. def loadOpcode: Int
  2. val local: Int
  3. val opcodeOffset: Int
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. def size: Int
  6. def storeOpcode: Int