diff options
Diffstat (limited to 'tool/ruby_vm/views')
-rw-r--r-- | tool/ruby_vm/views/vm.inc.erb | 8 | ||||
-rw-r--r-- | tool/ruby_vm/views/yjit_hooks.inc.erb (renamed from tool/ruby_vm/views/ujit_hooks.inc.erb) | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tool/ruby_vm/views/vm.inc.erb b/tool/ruby_vm/views/vm.inc.erb index 57a860efcf..c49c785df6 100644 --- a/tool/ruby_vm/views/vm.inc.erb +++ b/tool/ruby_vm/views/vm.inc.erb @@ -26,16 +26,16 @@ % end % % RubyVM::MicroJIT::ExampleInstructions.to_a.each do |insn| -INSN_ENTRY(ujit_call_example_with_ec) +INSN_ENTRY(yjit_call_example_with_ec) { - START_OF_ORIGINAL_INSN(ujit_call_example_with_ec); + START_OF_ORIGINAL_INSN(yjit_call_example_with_ec); #if USE_MACHINE_REGS // assumes USE_MACHINE_REGS, aka reg_pc setup, // aka #define SET_PC(x) (reg_cfp->pc = reg_pc = (x)) - rb_ujit_empty_func_with_ec(GET_CFP(), ec); + rb_yjit_empty_func_with_ec(GET_CFP(), ec); RESTORE_REGS(); #endif - END_INSN(ujit_call_example_with_ec); + END_INSN(yjit_call_example_with_ec); } % end % diff --git a/tool/ruby_vm/views/ujit_hooks.inc.erb b/tool/ruby_vm/views/yjit_hooks.inc.erb index 9409c996b1..faca2050c6 100644 --- a/tool/ruby_vm/views/ujit_hooks.inc.erb +++ b/tool/ruby_vm/views/yjit_hooks.inc.erb @@ -13,7 +13,7 @@ } -%> % success, byte_arrays = RubyVM::MicroJIT.scrape -static const uint8_t ujit_scrape_successful = <%= success %>; +static const uint8_t yjit_scrape_successful = <%= success %>; % byte_arrays.each do |(prefix, scrape_result)| // Disassembly: % scrape_result.disassembly_lines.each do |line| |