Module: YTLJit::VM::Node::OptFlagOp
- Included in:
- SendNode
- Defined in:
- lib/ytljit/vm_sendnode.rb
Overview
Opt_flag operation
Instance Method Summary collapse
- #is_args_blockarg ⇒ Object
- #is_args_splat ⇒ Object
- #is_fcall ⇒ Object
- #is_opt_send ⇒ Object
- #is_super ⇒ Object
- #is_tailcall ⇒ Object
- #is_tailrecursion ⇒ Object
- #is_vcall ⇒ Object
Instance Method Details
#is_args_blockarg ⇒ Object
11 12 13 |
# File 'lib/ytljit/vm_sendnode.rb', line 11 def is_args_blockarg (@opt_flag & (1 << 2)) != 0 end |
#is_args_splat ⇒ Object
7 8 9 |
# File 'lib/ytljit/vm_sendnode.rb', line 7 def is_args_splat (@opt_flag & (1 << 1)) != 0 end |
#is_fcall ⇒ Object
15 16 17 |
# File 'lib/ytljit/vm_sendnode.rb', line 15 def is_fcall (@opt_flag & (1 << 3)) != 0 end |
#is_opt_send ⇒ Object
35 36 37 |
# File 'lib/ytljit/vm_sendnode.rb', line 35 def is_opt_send (@opt_flag & (1 << 8)) != 0 end |
#is_super ⇒ Object
31 32 33 |
# File 'lib/ytljit/vm_sendnode.rb', line 31 def is_super (@opt_flag & (1 << 7)) != 0 end |
#is_tailcall ⇒ Object
23 24 25 |
# File 'lib/ytljit/vm_sendnode.rb', line 23 def is_tailcall (@opt_flag & (1 << 5)) != 0 end |
#is_tailrecursion ⇒ Object
27 28 29 |
# File 'lib/ytljit/vm_sendnode.rb', line 27 def is_tailrecursion (@opt_flag & (1 << 6)) != 0 end |
#is_vcall ⇒ Object
19 20 21 |
# File 'lib/ytljit/vm_sendnode.rb', line 19 def is_vcall (@opt_flag & (1 << 4)) != 0 end |