Module: Bootsnap::CompileCache::ISeq::InstructionSequenceMixin
- Defined in:
- lib/bootsnap/compile_cache/iseq.rb
Instance Method Summary collapse
Instance Method Details
#compile_option=(hash) ⇒ Object
99 100 101 102 |
# File 'lib/bootsnap/compile_cache/iseq.rb', line 99 def compile_option=(hash) super Bootsnap::CompileCache::ISeq.compile_option_updated end |
#load_iseq(path) ⇒ Object
87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/bootsnap/compile_cache/iseq.rb', line 87 def load_iseq(path) # Having coverage enabled prevents iseq dumping/loading. return nil if defined?(Coverage) && Coverage.running? Bootsnap::CompileCache::ISeq.fetch(path.to_s) rescue RuntimeError => error if error. =~ /unmatched platform/ puts("unmatched platform for file #{path}") end raise end |