summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-14 00:29:28 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-11-14 00:29:28 -0800
commita8537aa6a5ec6da5261e727943ba267bc422e594 (patch)
tree593f4eb7dda35cc11c4321ee23d545c553055f3b /tool
parent80bab6c8eddbb225c88155f2eb456a4d937294c7 (diff)
Import shape constants with mjit-bindgen
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mjit/bindgen.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/tool/mjit/bindgen.rb b/tool/mjit/bindgen.rb
index 70800b7dcb..64ac3eb7d2 100755
--- a/tool/mjit/bindgen.rb
+++ b/tool/mjit/bindgen.rb
@@ -341,6 +341,16 @@ generator = BindingGenerator.new(
VM_METHOD_TYPE_CFUNC
VM_METHOD_TYPE_ISEQ
],
+ UINT: %w[
+ SHAPE_BITS
+ SHAPE_CAPACITY_CHANGE
+ SHAPE_FLAG_SHIFT
+ SHAPE_FROZEN
+ SHAPE_INITIAL_CAPACITY
+ SHAPE_IVAR
+ SHAPE_IVAR_UNDEF
+ SHAPE_ROOT
+ ],
ULONG: %w[
INVALID_SHAPE_ID
SHAPE_MASK