summaryrefslogtreecommitdiff
path: root/yjit/bindgen/src/main.rs
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2023-03-15 13:43:49 -0400
committerAlan Wu <[email protected]>2023-03-15 15:45:20 -0400
commitde174681f7db3cc84ee8c55cafe89bb85a77e945 ()
tree98d3394c448380ee3180e97679de97de11ad9a3a /yjit/bindgen/src/main.rs
parentf613c18912f4bf5492a8dc02ab5e3661f4ae907c (diff)
YJIT: Assert that we have the VM lock while marking
Somewhat important because having the lock is a key part of the soundness reasoning for the `unsafe` usage here.
Notes: Merged: https://.com/ruby/ruby/pull/7530
-rw-r--r--yjit/bindgen/src/main.rs2
1 files changed, 2 insertions, 0 deletions
@@ -320,6 +320,8 @@ fn main() {
.allowlist_function("rb_yjit_exit_locations_dict")
.allowlist_function("rb_yjit_icache_invalidate")
.allowlist_function("rb_optimized_call")
// from vm_sync.h
.allowlist_function("rb_vm_barrier")