Skip to content

Commit ae91097

Browse files
committed
Merge remote-tracking branch 'gh/master' into zjit-filter-send-with-block-local-reloads
2 parents 263b1c8 + 218cec6 commit ae91097

85 files changed

Lines changed: 2303 additions & 982 deletions

File tree

Some content is hidden

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

.github/actions/setup/directories/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ runs:
114114
fetch-depth: ${{ inputs.fetch-depth }}
115115
persist-credentials: false
116116

117-
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
117+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
118118
with:
119119
path: ${{ inputs.srcdir }}/.downloaded-cache
120120
key: ${{ runner.os }}-${{ runner.arch }}-downloaded-cache
@@ -127,7 +127,7 @@ runs:
127127
# because they are the ones that clone the complete set into gems/src; other
128128
# jobs would otherwise save a partial gems/src and poison the shared key.
129129
- if: inputs.bundled-gems-src-cache == 'true'
130-
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
130+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
131131
with:
132132
path: ${{ inputs.srcdir }}/gems/src
133133
key: ${{ runner.os }}-${{ runner.arch }}-bundled-gems-src-${{ hashFiles(format('{0}/gems/bundled_gems', inputs.srcdir)) }}

.github/workflows/modgc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
${SETARCH} ../src/configure -C --disable-install-doc --with-modular-gc="${MODULAR_GC_DIR}" \
111111
${arch:+--target=$arch-$OSTYPE --host=$arch-$OSTYPE}
112112
113-
- uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1
113+
- uses: actions-rust-lang/setup-rust-toolchain@166cdcfd11aee3cb47222f9ddb555ce30ddb9659 # v1.17.0
114114
with:
115115
cache-bin: false
116116
- name: Set MMTk environment variables

.github/workflows/tarball-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
shell: msys2 {0}
6464
run: echo PATCH=$(cygpath -wa $(command -v patch)) >> $GITHUB_ENV
6565
if: ${{ steps.setup-msys2.outcome == 'success' }}
66-
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
66+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
6767
with:
6868
path: C:\vcpkg\installed
6969
key: ${{ runner.os }}-vcpkg-installed-${{ env.OS_VER }}-${{ github.sha }}
@@ -82,7 +82,7 @@ jobs:
8282
run: 7z x pkg/*.zip
8383
working-directory:
8484

85-
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
85+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
8686
with:
8787
path: snapshot-*/.downloaded-cache
8888
key: downloaded-cache

.github/workflows/windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090

9191
- name: Restore vcpkg artifact
9292
id: restore-vcpkg
93-
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
93+
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
9494
with:
9595
path: src\vcpkg_installed
9696
key: windows-${{ matrix.os }}-vcpkg-${{ hashFiles('src/vcpkg.json') }}
@@ -104,7 +104,7 @@ jobs:
104104
if: ${{ ! steps.restore-vcpkg.outputs.cache-hit }}
105105

106106
- name: Save vcpkg artifact
107-
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
107+
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
108108
with:
109109
path: src\vcpkg_installed
110110
key: windows-${{ matrix.os }}-vcpkg-${{ hashFiles('src/vcpkg.json') }}

.github/workflows/zjit-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
rustup install ${{ matrix.rust_version }} --profile minimal
9999
rustup default ${{ matrix.rust_version }}
100100
101-
- uses: taiki-e/install-action@9e1e5806d4a4822de933115878265be9aaa786d9 # v2.82.2
101+
- uses: taiki-e/install-action@9bcaee1dcae34154180f412e2fa69355a7cda9f6 # v2.82.6
102102
with:
103103
tool: nextest@0.9
104104
if: ${{ matrix.test_task == 'zjit-check' }}

.github/workflows/zjit-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
ruby-version: '3.1'
131131
bundler: none
132132

133-
- uses: taiki-e/install-action@9e1e5806d4a4822de933115878265be9aaa786d9 # v2.82.2
133+
- uses: taiki-e/install-action@9bcaee1dcae34154180f412e2fa69355a7cda9f6 # v2.82.6
134134
with:
135135
tool: nextest@0.9
136136
if: ${{ matrix.test_task == 'zjit-check' }}

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ releases.
8080
* 4.0.3 to [v4.0.4][bundler-v4.0.4], [v4.0.5][bundler-v4.0.5], [v4.0.6][bundler-v4.0.6], [v4.0.7][bundler-v4.0.7], [v4.0.8][bundler-v4.0.8], [v4.0.9][bundler-v4.0.9], [v4.0.10][bundler-v4.0.10], [v4.0.11][bundler-v4.0.11], [v4.0.12][bundler-v4.0.12], [v4.0.13][bundler-v4.0.13], [v4.0.14][bundler-v4.0.14], [v4.0.15][bundler-v4.0.15]
8181
* erb 6.0.4
8282
* 6.0.1 to [v6.0.1.1][erb-v6.0.1.1], [v6.0.2][erb-v6.0.2], [v6.0.3][erb-v6.0.3], [v6.0.4][erb-v6.0.4]
83+
* error_highlight 0.7.2
8384
* ipaddr 1.2.9
8485
* 1.2.8 to [v1.2.9][ipaddr-v1.2.9]
8586
* json 2.20.0
@@ -129,7 +130,7 @@ releases.
129130
* 0.1.12 to [v0.1.13][repl_type_completor-v0.1.13], [v0.1.14][repl_type_completor-v0.1.14], [v0.1.15][repl_type_completor-v0.1.15]
130131
* pstore 0.2.1
131132
* 0.2.0 to [v0.2.1][pstore-v0.2.1]
132-
* rdoc 7.2.0
133+
* rdoc 8.0.0
133134
* 7.0.3 to [v7.0.4][rdoc-v7.0.4], [v7.1.0][rdoc-v7.1.0], [v7.2.0][rdoc-v7.2.0]
134135
* win32ole 1.9.3
135136
* 1.9.2 to [v1.9.3][win32ole-v1.9.3]

array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1740,7 +1740,7 @@ rb_ary_entry(VALUE ary, long offset)
17401740
return rb_ary_entry_internal(ary, offset);
17411741
}
17421742

1743-
VALUE
1743+
static VALUE
17441744
rb_ary_subseq_step(VALUE ary, long beg, long len, long step)
17451745
{
17461746
VALUE klass;

common.mk

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,30 @@ yes-test-bundled-gems-spec: yes-test-all-precheck $(PREPARE_BUNDLED_GEMS)
16491649
no-test-bundled-gems-spec:
16501650

16511651

1652-
test-syntax-suggest:
1652+
test-syntax-suggest-precheck: $(TEST_RUNNABLE)-test-syntax-suggest-precheck
1653+
no-test-syntax-suggest-precheck:
1654+
yes-test-syntax-suggest-precheck: main
1655+
1656+
test-syntax-suggest-prepare: $(TEST_RUNNABLE)-test-syntax-suggest-prepare
1657+
no-test-syntax-suggest-prepare: no-test-syntax-suggest-precheck
1658+
yes-test-syntax-suggest-prepare: yes-test-syntax-suggest-precheck
1659+
$(ACTIONS_GROUP)
1660+
$(XRUBY) -C "$(srcdir)" bin/gem install --no-document \
1661+
--install-dir .bundle --conservative "rspec:~> 3"
1662+
$(ACTIONS_ENDGROUP)
1663+
1664+
RSPECOPTS =
1665+
SYNTAX_SUGGEST_SPECS =
1666+
PREPARE_SYNTAX_SUGGEST = $(TEST_RUNNABLE)-test-syntax-suggest-prepare
1667+
test-syntax-suggest: $(TEST_RUNNABLE)-test-syntax-suggest
1668+
yes-test-syntax-suggest: $(PREPARE_SYNTAX_SUGGEST)
1669+
$(ACTIONS_GROUP)
1670+
$(XRUBY) -C $(srcdir) -Ispec/syntax_suggest$(PATH_SEPARATOR)spec/lib .bundle/bin/rspec \
1671+
--require rspec/expectations \
1672+
--require spec_helper --require formatter_overrides --require spec_coverage \
1673+
$(RSPECOPTS) spec/syntax_suggest/$(SYNTAX_SUGGEST_SPECS)
1674+
$(ACTIONS_ENDGROUP)
1675+
no-test-syntax-suggest:
16531676

16541677
check: $(DOT_WAIT) $(PREPARE_SYNTAX_SUGGEST) test-syntax-suggest
16551678

compile.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4357,7 +4357,9 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj)
43574357
INSN *niobj = (INSN *)iobj->link.next;
43584358
if ((IS_INSN_ID(niobj, getlocal) ||
43594359
IS_INSN_ID(niobj, getinstancevariable) ||
4360-
IS_INSN_ID(niobj, putself)) &&
4360+
IS_INSN_ID(niobj, putself) ||
4361+
IS_INSN_ID(niobj, putobject) ||
4362+
IS_INSN_ID(niobj, putnil)) &&
43614363
IS_NEXT_INSN_ID(&niobj->link, send)) {
43624364

43634365
LINK_ELEMENT *sendobj = &(niobj->link); // Below we call ->next;

0 commit comments

Comments
 (0)