Top Methods
org.jruby.ir.targets

public Interface LocalVariableCompiler

Known Direct Implementers
org.jruby.ir.targets.indy.IndyLocalVariableCompiler, org.jruby.ir.targets.simple.NormalLocalVariableCompiler

Method Summary

Modifier and TypeMethod and Description
public void
getHeapLocal(int
depth into scope stack
depth
,
int
index into scope
index
)

Load local variable from dynamic scope.

public void
getHeapLocalOrNil(int
depth into scope stack
depth
,
int
index into scope
index
)

Load local variable from dynamic scope, returning nil if the resulting value is null.

Method Detail

getHeapLocalback to summary
public void getHeapLocal(int depth, int index)

Load local variable from dynamic scope.

Stack required: scope Stack result: value

Parameters
depth:int

depth into scope stack

index:int

index into scope

getHeapLocalOrNilback to summary
public void getHeapLocalOrNil(int depth, int index)

Load local variable from dynamic scope, returning nil if the resulting value is null.

Stack required: scope Stack result: value

Parameters
depth:int

depth into scope stack

index:int

index into scope