Local

dotty.tools.backend.jvm.opt.ClosureOptimizer.Local
case class Local(local: Int, opcodeOffset: Int)

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.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def size: Int

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product