Class: YTLJit::RubyType::RubyTypeUnboxed
- Includes:
- VM::TypeCodeGen::DefaultTypeCodeGen
- Defined in:
- lib/ytljit/vm_type.rb
Instance Attribute Summary
Attributes inherited from BaseType
Instance Method Summary collapse
Methods included from VM::TypeCodeGen::DefaultTypeCodeGen
#gen_boxing, #gen_copy, #gen_unboxing, #have_element?, #init_type, #inspect, #instance
Methods inherited from BaseType
from_object, from_ruby_class, #initialize, related_ruby_class, type_tab
Constructor Details
This class inherits a constructor from YTLJit::RubyType::BaseType
Instance Method Details
#boxed ⇒ Object
295 296 297 |
# File 'lib/ytljit/vm_type.rb', line 295 def boxed false end |
#to_box ⇒ Object
299 300 301 |
# File 'lib/ytljit/vm_type.rb', line 299 def to_box @@boxed_type_tab[ruby_type].instance end |
#to_unbox ⇒ Object
303 304 305 |
# File 'lib/ytljit/vm_type.rb', line 303 def to_unbox self end |