class SyntaxTree::YARV::PutObjectInt2Fix1

### Summary

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

### Usage

~~~ruby 1 ~~~

Public Instance Methods

==(other) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4640
def ==(other)
  other.is_a?(PutObjectInt2Fix1)
end
call(vm) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4652
def call(vm)
  canonical.call(vm)
end
canonical() click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4648
def canonical
  PutObject.new(1)
end
deconstruct_keys(_keys) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4636
def deconstruct_keys(_keys)
  {}
end
disasm(fmt) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4628
def disasm(fmt)
  fmt.instruction("putobject_INT2FIX_1_")
end
pushes() click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4644
def pushes
  1
end
side_effects?() click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4656
def side_effects?
  false
end
to_a(_iseq) click to toggle source
# File lib/syntax_tree/yarv/instructions.rb, line 4632
def to_a(_iseq)
  [:putobject_INT2FIX_1_]
end