diff options
author | Jose Narvaez <goyox86@gmail.com> | 2021-03-06 23:46:56 +0000 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:31 -0400 |
commit | 4e2eb7695e9b45cb5d2ae757bdb5c2043d78be78 (patch) | |
tree | 71e02cd04b191b9ce66801b67736cf69d831bd0b /tool/ruby_vm/models/micro_jit.rb | |
parent | 7f7e79d80221949f93c7ded7cbd8d26afd3dea1d (diff) | |
download | ruby-4e2eb7695e9b45cb5d2ae757bdb5c2043d78be78.tar.gz |
Yet Another Ruby JIT!
Renaming uJIT to YJIT. AKA s/ujit/yjit/g.
Diffstat (limited to 'tool/ruby_vm/models/micro_jit.rb')
-rw-r--r-- | tool/ruby_vm/models/micro_jit.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/ruby_vm/models/micro_jit.rb b/tool/ruby_vm/models/micro_jit.rb index 5e376ebb3a..83b463a367 100644 --- a/tool/ruby_vm/models/micro_jit.rb +++ b/tool/ruby_vm/models/micro_jit.rb @@ -179,7 +179,7 @@ module RubyVM::MicroJIT def make_result(success, with_pc) [success ? 1 : 0, [ - ['ujit_with_ec', with_pc], + ['yjit_with_ec', with_pc], ] ] end @@ -197,7 +197,7 @@ module RubyVM::MicroJIT end def scrape - with_ec = scrape_instruction(RubyVM::Instructions.find_index { |insn| insn.name == 'ujit_call_example_with_ec' }) + with_ec = scrape_instruction(RubyVM::Instructions.find_index { |insn| insn.name == 'yjit_call_example_with_ec' }) make_result(true, with_ec) rescue => e print_warning("scrape failed: #{e.message}") @@ -207,7 +207,7 @@ module RubyVM::MicroJIT end def print_warning(text) - text = "ujit warning: #{text}" + text = "yjit warning: #{text}" text = "\x1b[1m#{text}\x1b[0m" if STDOUT.tty? STDOUT.puts(text) end |