aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2023-08-17 10:11:17 -0400
committerGitHub <noreply@github.com>2023-08-17 10:11:17 -0400
commit30a5b94517699589f6943163cd6b92f2f6c0023f (patch)
tree73760a4147e0c8be718f9cc6bb66894e2372e23f /vm_insnhelper.c
parent7433c8f7dde9eb82b94d59c71c17b4173047e008 (diff)
downloadruby-30a5b94517699589f6943163cd6b92f2f6c0023f.tar.gz
YJIT: implement side chain fallback for setlocal to avoid exiting (#8227)
* YJIT: implement side chain fallback for setlocal to avoid exiting * Update yjit/src/codegen.rs Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> --------- Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 7ee8fd2cbf..a325d070a2 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -505,6 +505,12 @@ vm_env_write(const VALUE *ep, int index, VALUE v)
}
}
+void
+rb_vm_env_write(const VALUE *ep, int index, VALUE v)
+{
+ vm_env_write(ep, index, v);
+}
+
VALUE
rb_vm_bh_to_procval(const rb_execution_context_t *ec, VALUE block_handler)
{