File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -597,8 +597,8 @@ $(INSNS): $(srcdir)/insns.def vm_opts.h \
597
597
$(tooldir ) /ruby_vm/models/instructions_unifications.rb \
598
598
$(tooldir ) /ruby_vm/models/operands_unifications.rb \
599
599
$(tooldir ) /ruby_vm/models/trace_instructions.rb \
600
- $(tooldir ) /ruby_vm/models/micro_jit .rb \
601
- $(tooldir ) /ruby_vm/models/micro_jit /example_instructions.rb \
600
+ $(tooldir ) /ruby_vm/models/yjit .rb \
601
+ $(tooldir ) /ruby_vm/models/yjit /example_instructions.rb \
602
602
$(tooldir ) /ruby_vm/models/typemap.rb \
603
603
$(tooldir ) /ruby_vm/scripts/converter.rb \
604
604
$(tooldir ) /ruby_vm/scripts/insns2vm.rb \
Original file line number Diff line number Diff line change 13
13
require_relative 'bare_instructions'
14
14
require_relative 'operands_unifications'
15
15
require_relative 'instructions_unifications'
16
- require_relative 'micro_jit '
16
+ require_relative 'yjit '
17
17
18
18
RubyVM ::Instructions = RubyVM ::BareInstructions . to_a + \
19
19
RubyVM ::OperandsUnifications . to_a + \
20
20
RubyVM ::InstructionsUnifications . to_a + \
21
- RubyVM ::MicroJIT ::ExampleInstructions . to_a
21
+ RubyVM ::YJIT ::ExampleInstructions . to_a
22
22
23
23
24
24
require_relative 'trace_instructions'
Original file line number Diff line number Diff line change 10
10
# conditions mentioned in the file COPYING are met. Consult the file for
11
11
# details.
12
12
13
- module RubyVM ::MicroJIT
13
+ module RubyVM ::YJIT
14
14
ScrapeResult = Struct . new ( :pre_call_bytes , :post_call_bytes , :disassembly_lines )
15
15
16
16
class << self
@@ -218,4 +218,4 @@ def comma_separated_hex_string(nums)
218
218
end
219
219
end
220
220
221
- require_relative 'micro_jit /example_instructions'
221
+ require_relative 'yjit /example_instructions'
Original file line number Diff line number Diff line change 10
10
# conditions mentioned in the file COPYING are met. Consult the file for
11
11
# details.
12
12
13
- class RubyVM ::MicroJIT ::ExampleInstructions
13
+ class RubyVM ::YJIT ::ExampleInstructions
14
14
include RubyVM ::CEscape
15
15
16
16
attr_reader :name
Original file line number Diff line number Diff line change 25
25
< %= render 'insn_entry' , locals : { insn : insn } - %>
26
26
% end
27
27
%
28
- % RubyVM ::MicroJIT ::ExampleInstructions .to_a .each do |insn |
28
+ % RubyVM ::YJIT ::ExampleInstructions .to_a .each do |insn |
29
29
INSN_ENTRY (yjit_call_example_with_ec )
30
30
{
31
31
START_OF_ORIGINAL_INSN (yjit_call_example_with_ec );
Original file line number Diff line number Diff line change 8
8
%# details .
9
9
< %= render 'copyright' %>
10
10
< %= render 'notice' , locals : {
11
- this_file : 'contains raw instruction bytes that helps MicroJIT generate code' ,
11
+ this_file : 'contains raw instruction bytes that helps YJIT generate code' ,
12
12
edit : __FILE__ ,
13
13
} - %>
14
14
15
- % success , byte_arrays = RubyVM ::MicroJIT .scrape
15
+ % success , byte_arrays = RubyVM ::YJIT .scrape
16
16
static const uint8_t yjit_scrape_successful = < %= success %> ;
17
17
% byte_arrays .each do |(prefix , scrape_result )|
18
18
// Disassembly:
You can’t perform that action at this time.
0 commit comments