diff options
| author | NARUSE, Yui <nurse@users.noreply.github.com> | 2024-05-29 06:52:47 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-28 14:52:47 -0700 |
| commit | 93d7bf5c5c635567fa519affdfd54edeb9064834 (patch) | |
| tree | a6c569ac9fef1b27eae07c22a29c31252d4c5aed /yjit/src/stats.rs | |
| parent | f18ba2c6c6a9b2a74a8c2d655ab42947edb1fc6a (diff) | |
merge revision(s) bbd249e351af7e4929b518a5de73a832b5617273: [Backport #20192] (#10249)
* merge revision(s) bbd249e351af7e4929b518a5de73a832b5617273: [Backport #20192]
YJIT: Properly reject keyword splat with `yield`
We don't have support for keyword splat anywhere, but we tried to
compile these anyways in case of `invokeblock`. This led to bad things
happening such as passing the wrong value and passing a hash into
rb_yjit_array_len(), which raised in the middle of compilation.
[Bug #20192]
* Skip a new test for RJIT
Diffstat (limited to 'yjit/src/stats.rs')
| -rw-r--r-- | yjit/src/stats.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index dcaa9af2b5..eab3db010f 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -331,6 +331,7 @@ make_counters! { send_iseq_clobbering_block_arg, send_iseq_leaf_builtin_block_arg_block_param, send_iseq_only_keywords, + send_iseq_kw_splat, send_iseq_kwargs_req_and_opt_missing, send_iseq_kwargs_mismatch, send_iseq_has_post, @@ -338,6 +339,7 @@ make_counters! { send_iseq_has_no_kw, send_iseq_accepts_no_kwarg, send_iseq_materialized_block, + send_iseq_splat_not_array, send_iseq_splat_with_opt, send_iseq_splat_with_kw, send_iseq_missing_optional_kw, |
