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::Native.fetch(
    Bootsnap::CompileCache::ISeq.cache_dir,
    path.to_s,
    Bootsnap::CompileCache::ISeq
  )
rescue RuntimeError => e
  if e.message =~ /unmatched platform/
    puts "unmatched platform for file #{path}"
  end
  raise
end