summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2022-10-12 14:37:02 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2022-10-13 13:11:01 -0700
commite5058b58c22e19d559b1122d94af5af3931aa416 (patch)
tree6bfd4dba20d8905436ee0c8c9e1992cb10117d83 /tool
parent1b0c9d0e3d6dc3630072dc16c143e0d79886b7a0 (diff)
Only expose Ruby Shape API if VM_CHECK_MODE is enabled
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mjit/bindgen.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/mjit/bindgen.rb b/tool/mjit/bindgen.rb
index 8c21d42449..77b81814e3 100755
--- a/tool/mjit/bindgen.rb
+++ b/tool/mjit/bindgen.rb
@@ -380,6 +380,8 @@ generator = BindingGenerator.new(
rb_mjit_compile_info
rb_mjit_unit
rb_serial_t
+ rb_shape
+ rb_shape_t
],
dynamic_types: %w[
VALUE