module Bootsnap::CompileCache::ISeq::InstructionSequenceMixin

def compile_option=(hash)

def compile_option=(hash)
  super(hash)
  Bootsnap::CompileCache::ISeq.compile_option_updated
end

def load_iseq(path)

def load_iseq(path)
  # Having coverage enabled prevents iseq dumping/loading.
  return nil if defined?(Coverage) && Bootsnap::CompileCache::Native.coverage_running?
  Bootsnap::CompileCache::ISeq.fetch(path.to_s)
rescue Errno::EACCES
  Bootsnap::CompileCache.permission_error(path)
rescue RuntimeError => error
  if error.message =~ /unmatched platform/
    puts("unmatched platform for file #{path}")
  end
  raise
end