Class: YTLJit::RubyType::RubyTypeUnboxed

Inherits:
BaseType show all
Includes:
VM::TypeCodeGen::DefaultTypeCodeGen
Defined in:
lib/ytljit/vm_type.rb

Instance Attribute Summary

Attributes inherited from BaseType

#asm_type, #ruby_type

Instance Method Summary collapse

Methods included from VM::TypeCodeGen::DefaultTypeCodeGen

#copy_type, #gen_boxing, #gen_copy, #gen_unboxing, #have_element?, #include_nil?, #init_type, #inspect, #instance

Methods inherited from BaseType

#abnormal?, from_object, from_ruby_class, #initialize, related_ruby_class, #ruby_type_raw, type_tab

Constructor Details

This class inherits a constructor from YTLJit::RubyType::BaseType

Instance Method Details

#boxedObject



303
304
305
# File 'lib/ytljit/vm_type.rb', line 303

def boxed
  false
end

#to_boxObject



307
308
309
# File 'lib/ytljit/vm_type.rb', line 307

def to_box
  @@boxed_type_tab[ruby_type].instance
end

#to_unboxObject



311
312
313
# File 'lib/ytljit/vm_type.rb', line 311

def to_unbox
  self
end