LocalsList

dotty.tools.backend.jvm.opt.ClosureOptimizer.LocalsList
See theLocalsList companion class
object LocalsList

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromTypes(firstLocal: Int, types: Array[Type]): ClosureOptimizer.this.LocalsList

A list of local variables starting at firstLocal that can hold values of the types in the types parameter.

A list of local variables starting at firstLocal that can hold values of the types in the types parameter.

For example, fromTypes(3, Array(Int, Long, String)) returns Local(3, intOpOffset) :: Local(4, longOpOffset) :: // note that this local occupies two slots, the next is at 6 Local(6, refOpOffset) :: Nil

Attributes