summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-14 00:24:08 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-11-14 00:24:08 -0800
commit80bab6c8eddbb225c88155f2eb456a4d937294c7 (patch)
tree6ce6dae48c63bb34aabd6399d0f851925d9798da /tool
parente4e2ff76a8415e4d2db88c1f2b0c4742cb6184c1 (diff)
Import class constants with mjit-bindgen
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mjit/bindgen.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/tool/mjit/bindgen.rb b/tool/mjit/bindgen.rb
index 4d79b32bc2..70800b7dcb 100755
--- a/tool/mjit/bindgen.rb
+++ b/tool/mjit/bindgen.rb
@@ -345,6 +345,14 @@ generator = BindingGenerator.new(
INVALID_SHAPE_ID
SHAPE_MASK
],
+ PTR: %w[
+ rb_cFalseClass
+ rb_cFloat
+ rb_cInteger
+ rb_cNilClass
+ rb_cSymbol
+ rb_cTrueClass
+ ],
},
types: %w[
CALL_DATA