FrameExtensions

dotty.tools.backend.jvm.BCodeUtils.FrameExtensions
final implicit class FrameExtensions[V <: Value](val frame: Frame[V]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def getValue(i: Int): V

Gets the value at slot i, where i may be a local or a stack index.

Gets the value at slot i, where i may be a local or a stack index.

Attributes

def peekStack(n: Int): V

The value n positions down the stack.

The value n positions down the stack.

Attributes

def setValue(i: Int, value: V): Unit

Sets the value at slot i, where i may be a local or a stack index.

Sets the value at slot i, where i may be a local or a stack index.

Attributes

def stackTop: Int

The index of the current stack top.

The index of the current stack top.

Attributes

Concrete fields

val frame: Frame[V]