module Bootsnap::CompileCache::ISeq::InstructionSequenceMixin
Public Instance Methods
compile_option=(hash)
click to toggle source
Calls superclass method
# File lib/bootsnap/compile_cache/iseq.rb, line 49 def compile_option=(hash) super(hash) Bootsnap::CompileCache::ISeq.compile_option_updated end
load_iseq(path)
click to toggle source
# File lib/bootsnap/compile_cache/iseq.rb, line 33 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