Skip to content

Commit 23ec248

Browse files
committed
s/mjit/rjit/
1 parent 2e87554 commit 23ec248

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1078
-1080
lines changed

.document

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ gc.rb
1818
io.rb
1919
kernel.rb
2020
marshal.rb
21-
mjit.rb
21+
rjit.rb
2222
numeric.rb
2323
nilclass.rb
2424
pack.rb

.github/workflows/rjit-bindgen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
matrix:
2929
include:
30-
- task: mjit-bindgen
30+
- task: rjit-bindgen
3131
fail-fast: false
3232
runs-on: ubuntu-20.04
3333
if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}

.github/workflows/rjit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
matrix:
3131
# main variables included in the job name
3232
test_task: [check]
33-
run_opts: ['--mjit-call-threshold=1']
33+
run_opts: ['--rjit-call-threshold=1']
3434
arch: ['']
3535
fail-fast: false
3636
env:

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ lcov*.info
239239
/win32/*.ico
240240

241241
# RJIT
242-
/include/ruby-*/*/rb_mjit_min_header-*.h
243-
/lib/ruby_vm/mjit/instruction.rb
242+
/include/ruby-*/*/rb_rjit_min_header-*.h
244243
/lib/ruby_vm/rjit/instruction.rb
245-
/mjit_config.h
246-
/rb_mjit_header.h*
244+
/lib/ruby_vm/rjit/instruction.rb
245+
/rjit_config.h
246+
/rb_rjit_header.h*
247247

248248
# YJIT
249249
/yjit-bench

bootstraptest/test_gc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
o.send(meth)
1515
end
1616
end
17-
}, '[ruby-dev:39453]' unless ENV.fetch('RUN_OPTS', '').include?('mjit') # speed up RJIT CI
17+
}, '[ruby-dev:39453]' unless ENV.fetch('RUN_OPTS', '').include?('rjit') # speed up RJIT CI
1818

1919
assert_normal_exit %q{
2020
a = []

bootstraptest/test_ractor.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def test n
283283
30.times.map{|i|
284284
test i
285285
}
286-
} unless ENV['RUN_OPTS'] =~ /--mjit-call-threshold=5/ || # This always fails with --mjit-wait --mjit-call-threshold=5
286+
} unless ENV['RUN_OPTS'] =~ /--rjit-call-threshold=5/ || # This always fails with --rjit-wait --rjit-call-threshold=5
287287
(ENV.key?('TRAVIS') && ENV['TRAVIS_CPU_ARCH'] == 'arm64') # https://bugs.ruby-lang.org/issues/17878
288288

289289
# Exception for empty select
@@ -1532,7 +1532,7 @@ class C
15321532
15331533
1_000.times { idle_worker, tmp_reporter = Ractor.select(*workers) }
15341534
"ok"
1535-
} unless ENV['RUN_OPTS'] =~ /mjit/ # flaky
1535+
} unless ENV['RUN_OPTS'] =~ /rjit/ # flaky
15361536

15371537
assert_equal "ok", %q{
15381538
def foo(*); ->{ super }; end

0 commit comments

Comments
 (0)