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



357
358
359
360
361
362
363
# File 'lib/ytl/macro.rb', line 357

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