Class: YTLJit::RubyType::RubyTypeUnboxed

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

Constant Summary

Constants included from AbsArch

AbsArch::AL, AbsArch::BL, AbsArch::CL, AbsArch::DL, AbsArch::FUNC_ARG, AbsArch::FUNC_ARG_YTL, AbsArch::FUNC_FLOAT_ARG, AbsArch::FUNC_FLOAT_ARG_YTL, AbsArch::INDIRECT_BPR, AbsArch::INDIRECT_RETR, AbsArch::INDIRECT_SPR, AbsArch::INDIRECT_TMPR, AbsArch::INDIRECT_TMPR2, AbsArch::INDIRECT_TMPR3

Constants included from SSE

SSE::XMM0, SSE::XMM1, SSE::XMM2, SSE::XMM3, SSE::XMM4, SSE::XMM5, SSE::XMM6, SSE::XMM7

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 included from VM::TypeCodeGen::TypeUtil

#gen_copy_common

Methods included from VM::CommonCodeGen

#dump_context, #gen_alloca, #gen_call, #gen_save_thepr

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



321
322
323
# File 'lib/ytljit/vm_type.rb', line 321

def boxed
  false
end

#to_boxObject



325
326
327
# File 'lib/ytljit/vm_type.rb', line 325

def to_box
  @@boxed_type_tab[ruby_type].instance
end

#to_unboxObject



329
330
331
# File 'lib/ytljit/vm_type.rb', line 329

def to_unbox
  self
end