module Bootsnap::CompileCache::ISeq

def self.input_to_storage(_, path)

def self.input_to_storage(_, path)
  iseq = begin
    RubyVM::InstructionSequence.compile_file(path)
  rescue SyntaxError
    return UNCOMPILABLE # syntax error
  end
  begin
    iseq.to_binary
  rescue TypeError
    return UNCOMPILABLE # ruby bug #18250
  end
end