Class: YTLJit::VM::Node::SystemValueNode
- Defined in:
- lib/ytljit/vm.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
Constants included from SSE
SSE::XMM0, SSE::XMM1, SSE::XMM2, SSE::XMM3, SSE::XMM4, SSE::XMM5, SSE::XMM6, SSE::XMM7
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
Attributes inherited from BaseNode
#code_space, #element_node_list, #id, #parent, #type
Instance Method Summary collapse
- #collect_candidate_type(context) ⇒ Object
- #compile(context) ⇒ Object
-
#initialize(parent, kind, offset) ⇒ SystemValueNode
constructor
A new instance of SystemValueNode.
- #size ⇒ Object
Methods inherited from BaseNode
#add_element_node, #add_type, #collect_info, #decide_type, #decide_type_core, #decide_type_once, #gen_type_inference_proc, #inference_type, #merge_type, #same_type, #set_type_list, #ti_add_observer, #ti_changed, #ti_update, #type_list
Methods included from Inspect
Constructor Details
#initialize(parent, kind, offset) ⇒ SystemValueNode
780 781 782 783 784 |
# File 'lib/ytljit/vm.rb', line 780 def initialize(parent, kind, offset) super(parent) @kind = kind @offset = offset end |
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
786 787 788 |
# File 'lib/ytljit/vm.rb', line 786 def offset @offset end |
Instance Method Details
#collect_candidate_type(context) ⇒ Object
788 789 790 |
# File 'lib/ytljit/vm.rb', line 788 def collect_candidate_type(context) context end |
#compile(context) ⇒ Object
796 797 798 799 |
# File 'lib/ytljit/vm.rb', line 796 def compile(context) context = super(context) context end |
#size ⇒ Object
792 793 794 |
# File 'lib/ytljit/vm.rb', line 792 def size AsmType::MACHINE_WORD.size end |