Class: YTLJit::VM::Node::LocalVarRefNode

Inherits:
Object
  • Object
show all
Defined in:
lib/ytl/macro.rb

Instance Method Summary collapse

Instance Method Details

#to_ruby(context) ⇒ Object



339
340
341
342
343
344
345
# File 'lib/ytl/macro.rb', line 339

def to_ruby(context)
  cfi = @current_frame_info
  off = cfi.real_offset(@offset)
  lv = cfi.frame_layout[off]
  context.ret_code.last << " _#{lv.name.to_s} "
  context
end