Class: YTLJit::OutputStream

Inherits:
Object show all
Defined in:
lib/ytljit/asm.rb

Direct Known Subclasses

DummyOutputStream, FileOutputStream

Instance Method Summary collapse

Instance Method Details

#asm=(a) ⇒ Object



61
62
63
# File 'lib/ytljit/asm.rb', line 61

def asm=(a)
  @asm = a
end

#base_addressObject



65
66
67
# File 'lib/ytljit/asm.rb', line 65

def base_address
  0
end

#var_base_address(offset = 0) ⇒ Object



69
70
71
# File 'lib/ytljit/asm.rb', line 69

def var_base_address(offset = 0)
  OpVarMemAddress.new(lambda {offset})
end