バグ #1606 » 0001-Ruby-YJIT-YJIT.enable-refs-1606.patch
| mikutter.rb | ||
|---|---|---|
|
# _profile_ がtrueなら、プロファイリングした結果を一時ディレクトリに保存する
|
||
|
def boot!(profile)
|
||
|
begin
|
||
|
RubyVM::YJIT.enable if RUBY_VERSION.split('.') >= %w[3 3]
|
||
|
RubyVM::YJIT.enable if RUBY_VERSION.split('.') >= %w[3 3] && defined?(RubyVM::YJIT)
|
||
|
if profile
|
||
|
require 'ruby-prof'
|
||
|
begin
|
||