Class: YTLJit::OpRegistor

Inherits:
Operand show all
Includes:
Singleton
Defined in:
lib/ytljit/instruction.rb

Direct Known Subclasses

OpReg32, OpReg64, OpReg8, OpRegXMM

Instance Method Summary collapse

Instance Method Details

#using(reg) ⇒ Object



117
118
119
# File 'lib/ytljit/instruction.rb', line 117

def using(reg)
  reg == self
end

#valueObject



113
114
115
# File 'lib/ytljit/instruction.rb', line 113

def value
  reg_no
end