class SyntaxTree::YARV::Dup


~~~
$global = 5
~~~ruby
### Usage
`dup` copies the top value of the stack and pushes it onto the stack.
### Summary

def ==(other)

def ==(other)
  other.is_a?(Dup)
end

def call(vm)

def call(vm)
  vm.push(vm.stack.last.dup)
end

def deconstruct_keys(_keys)

def deconstruct_keys(_keys)
  {}
end

def disasm(fmt)

def disasm(fmt)
  fmt.instruction("dup")
end

def pops

def pops
  1
end

def pushes

def pushes
  2
end

def side_effects?

def side_effects?
  false
end

def to_a(_iseq)

def to_a(_iseq)
  [:dup]
end