class TypeProf::ISeq::Insn

Public Instance Methods

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