Method: CodeTools::Compiler::NestedLocalReference#get_bytecode

Defined in:
lib/rubinius/code/compiler/locals.rb

#get_bytecode(g) ⇒ Object



105
106
107
108
109
110
111
# File 'lib/rubinius/code/compiler/locals.rb', line 105

def get_bytecode(g)
  if @depth == 0
    g.push_local @slot
  else
    g.push_local_depth @depth, @slot
  end
end