Class IndyLocalVariableCompiler

java.lang.Object
org.jruby.ir.targets.indy.IndyLocalVariableCompiler
All Implemented Interfaces:
LocalVariableCompiler

public class IndyLocalVariableCompiler extends Object implements LocalVariableCompiler
  • Constructor Details

    • IndyLocalVariableCompiler

      public IndyLocalVariableCompiler(IRBytecodeAdapter irBytecodeAdapter)
  • Method Details

    • getHeapLocal

      public void getHeapLocal(int depth, int location)
      Description copied from interface: LocalVariableCompiler
      Load local variable from dynamic scope.

      Stack required: scope Stack result: value

      Specified by:
      getHeapLocal in interface LocalVariableCompiler
      Parameters:
      depth - depth into scope stack
      location - index into scope
    • getHeapLocalOrNil

      public void getHeapLocalOrNil(int depth, int location)
      Description copied from interface: LocalVariableCompiler
      Load local variable from dynamic scope, returning nil if the resulting value is null.

      Stack required: scope Stack result: value

      Specified by:
      getHeapLocalOrNil in interface LocalVariableCompiler
      Parameters:
      depth - depth into scope stack
      location - index into scope