class SyntaxTree::YARV::Legacy::OptSetInlineCache


~~~
Constant
~~~ruby
### Usage
the consolidated ‘opt_getconstant_path` instruction.
This instruction is no longer used since in Ruby 3.2 it was replaced by
set the cache. It then pushes that value back onto the top of the stack.
the value it should set off the top of the stack. It uses this value to
`opt_setinlinecache` sets an inline cache for a constant lookup. It pops
### Summary

def ==(other)

def ==(other)
  other.is_a?(OptSetInlineCache) && other.cache == cache
end

def call(vm)

def call(vm)
end

def deconstruct_keys(_keys)

def deconstruct_keys(_keys)
  { cache: cache }
end

def disasm(fmt)

def disasm(fmt)
  fmt.instruction("opt_setinlinecache", [fmt.inline_storage(cache)])
end

def initialize(cache)

def initialize(cache)
  @cache = cache
end

def length

def length
  2
end

def pops

def pops
  1
end

def pushes

def pushes
  1
end

def to_a(_iseq)

def to_a(_iseq)
  [:opt_setinlinecache, cache]
end