1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/mjit_compiler.rb
2022-09-23 06:44:28 +09:00

14 lines
278 B
Ruby

# frozen_string_literal: true
# TODO: Merge this to mjit.rb
if RubyVM::MJIT.enabled?
begin
require 'fiddle'
require 'fiddle/import'
rescue LoadError
return # skip miniruby
end
require "mjit/c_type"
require "mjit/instruction"
require "mjit/compiler"
end