diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2023-08-17 10:11:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 10:11:17 -0400 |
commit | 30a5b94517699589f6943163cd6b92f2f6c0023f (patch) | |
tree | 73760a4147e0c8be718f9cc6bb66894e2372e23f /yjit/bindgen/src/main.rs | |
parent | 7433c8f7dde9eb82b94d59c71c17b4173047e008 (diff) | |
download | ruby-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 'yjit/bindgen/src/main.rs')
-rw-r--r-- | yjit/bindgen/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 6b6337d541..baa71fc6cf 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -283,6 +283,7 @@ fn main() { .blocklist_type("rb_control_frame_struct") .opaque_type("rb_control_frame_struct") .allowlist_function("rb_vm_bh_to_procval") + .allowlist_function("rb_vm_env_write") .allowlist_function("rb_vm_ep_local_ep") .allowlist_type("vm_special_object_type") .allowlist_var("VM_ENV_DATA_INDEX_SPECVAL") |