lib/capuchin/generator.rb
# Nodes that are guaranteed to leave a VM true or false (or nil) on
# the stack, meaning we don't need to do a full truthiness check.
Nodes that are guaranteed to leave a VM true or false (or nil) on
the stack, meaning we don't need to do a full truthiness check.
Nodes that are guaranteed to leave a VM true or false ( or nil ) on the stack meaning we don ' t need to do a full truthiness check .
def giz(label, src=nil)
    if src && bool_safe?(src)
      gif label
    else
      not_easy = new_label
      dup
      git not_easy
      pop
      goto label
      not_easy.set!
      send :js_truthy?, 0
      gif label
    end
  end
def giz ( label , src = nil ) if src && bool_safe? ( src ) gif label else not_easy = new_label dup git not_easy pop goto label not_easy . set! send :js_truthy? , 0 gif label end end
Nodes that are guaranteed to leave a VM true or false (or nil) on
the stack, meaning we don't need to do a full truthiness check.
Nodes that are guaranteed to leave a VM true or false ( or nil ) on the stack meaning we don ' t need to do a full truthiness check .
label
src