class TypeProf::ISeq::Insn

Public Instance Methods

check?(insn_cmp, operands_cmp = nil) click to toggle source
# File typeprof-0.21.3/lib/typeprof/iseq.rb, line 96
def check?(insn_cmp, operands_cmp = nil)
  return insn == insn_cmp && (!operands_cmp || operands == operands_cmp)
end