Module: YTLJit::VM::Node::OptFlagOp

Included in:
SendNode
Defined in:
lib/ytljit/vm_sendnode.rb

Overview

Opt_flag operation

Instance Method Summary collapse

Instance Method Details

#is_args_blockargObject



11
12
13
# File 'lib/ytljit/vm_sendnode.rb', line 11

def is_args_blockarg
  (@opt_flag & (1 << 2)) != 0
end

#is_args_splatObject



7
8
9
# File 'lib/ytljit/vm_sendnode.rb', line 7

def is_args_splat
  (@opt_flag & (1 << 1)) != 0
end

#is_fcallObject



15
16
17
# File 'lib/ytljit/vm_sendnode.rb', line 15

def is_fcall
  (@opt_flag & (1 << 3)) != 0
end

#is_opt_sendObject



35
36
37
# File 'lib/ytljit/vm_sendnode.rb', line 35

def is_opt_send
  (@opt_flag & (1 << 8)) != 0
end

#is_superObject



31
32
33
# File 'lib/ytljit/vm_sendnode.rb', line 31

def is_super
  (@opt_flag & (1 << 7)) != 0
end

#is_tailcallObject



23
24
25
# File 'lib/ytljit/vm_sendnode.rb', line 23

def is_tailcall
  (@opt_flag & (1 << 5)) != 0
end

#is_tailrecursionObject



27
28
29
# File 'lib/ytljit/vm_sendnode.rb', line 27

def is_tailrecursion
  (@opt_flag & (1 << 6)) != 0
end

#is_vcallObject



19
20
21
# File 'lib/ytljit/vm_sendnode.rb', line 19

def is_vcall
  (@opt_flag & (1 << 4)) != 0
end