class SyntaxTree::YARV::PutObjectInt2Fix0

### Summary

‘putobject_INT2FIX_0_` pushes 0 on the stack. It is a specialized instruction resulting from the operand unification optimization. It is equivalent to `putobject 0`.

### Usage

~~~ruby 0 ~~~

Public Instance Methods

==(other) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4594
def ==(other)
  other.is_a?(PutObjectInt2Fix0)
end
call(vm) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4606
def call(vm)
  canonical.call(vm)
end
canonical() click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4602
def canonical
  PutObject.new(0)
end
deconstruct_keys(_keys) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4590
def deconstruct_keys(_keys)
  {}
end
disasm(fmt) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4582
def disasm(fmt)
  fmt.instruction("putobject_INT2FIX_0_")
end
pushes() click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4598
def pushes
  1
end
side_effects?() click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4610
def side_effects?
  false
end
to_a(_iseq) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4586
def to_a(_iseq)
  [:putobject_INT2FIX_0_]
end