class TypeProf::ISeq::Insn

Public Instance Methods

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