debase-ruby_core_source 3.4.1 → 4.0.0.preview2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/addr2line.h +22 -0
  4. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/builtin.h +125 -0
  5. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/ccan/build_assert/build_assert.h +40 -0
  6. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/ccan/check_type/check_type.h +63 -0
  7. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/ccan/container_of/container_of.h +142 -0
  8. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/ccan/list/list.h +791 -0
  9. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/ccan/str/str.h +17 -0
  10. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/constant.h +53 -0
  11. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/darray.h +278 -0
  12. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/debug_counter.h +425 -0
  13. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/dln.h +33 -0
  14. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/encindex.h +70 -0
  15. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/eval_intern.h +331 -0
  16. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/hrtime.h +237 -0
  17. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/id.h +354 -0
  18. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/id_table.h +54 -0
  19. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/insns.inc +302 -0
  20. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/insns_info.inc +11241 -0
  21. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/array.h +154 -0
  22. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/basic_operators.h +65 -0
  23. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/bignum.h +245 -0
  24. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/bits.h +650 -0
  25. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/box.h +81 -0
  26. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/class.h +805 -0
  27. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/cmdlineopt.h +64 -0
  28. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/compar.h +29 -0
  29. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/compile.h +34 -0
  30. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/compilers.h +107 -0
  31. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/complex.h +29 -0
  32. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/concurrent_set.h +21 -0
  33. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/cont.h +35 -0
  34. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/dir.h +16 -0
  35. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/enc.h +19 -0
  36. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/encoding.h +39 -0
  37. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/enum.h +18 -0
  38. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/enumerator.h +21 -0
  39. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/error.h +251 -0
  40. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/eval.h +41 -0
  41. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/file.h +38 -0
  42. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/fixnum.h +185 -0
  43. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/gc.h +358 -0
  44. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/hash.h +194 -0
  45. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/imemo.h +322 -0
  46. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/inits.h +51 -0
  47. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/io.h +163 -0
  48. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/load.h +20 -0
  49. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/loadpath.h +16 -0
  50. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/math.h +23 -0
  51. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/missing.h +19 -0
  52. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/numeric.h +275 -0
  53. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/object.h +63 -0
  54. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/parse.h +131 -0
  55. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/proc.h +30 -0
  56. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/process.h +124 -0
  57. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/ractor.h +10 -0
  58. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/random.h +17 -0
  59. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/range.h +40 -0
  60. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/rational.h +71 -0
  61. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/re.h +33 -0
  62. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/ruby_parser.h +102 -0
  63. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/sanitizers.h +346 -0
  64. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/serial.h +23 -0
  65. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/set_table.h +70 -0
  66. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/signal.h +25 -0
  67. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/st.h +11 -0
  68. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/static_assert.h +16 -0
  69. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/string.h +203 -0
  70. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/struct.h +160 -0
  71. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/symbol.h +46 -0
  72. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/thread.h +112 -0
  73. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/time.h +37 -0
  74. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/transcode.h +23 -0
  75. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/util.h +27 -0
  76. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/variable.h +74 -0
  77. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/vm.h +136 -0
  78. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal/warnings.h +16 -0
  79. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/internal.h +105 -0
  80. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/iseq.h +357 -0
  81. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/known_errors.inc +1419 -0
  82. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/method.h +271 -0
  83. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/node.h +122 -0
  84. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/node_name.inc +224 -0
  85. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/optinsn.inc +128 -0
  86. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/optunifs.inc +41 -0
  87. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/parse.h +244 -0
  88. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/parser_bits.h +564 -0
  89. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/parser_node.h +32 -0
  90. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/parser_st.h +162 -0
  91. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/parser_value.h +106 -0
  92. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/ast.h +8233 -0
  93. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/defines.h +260 -0
  94. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/diagnostic.h +458 -0
  95. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/encoding.h +283 -0
  96. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/extension.h +19 -0
  97. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/node.h +129 -0
  98. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/options.h +485 -0
  99. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/pack.h +163 -0
  100. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/parser.h +936 -0
  101. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/prettyprint.h +34 -0
  102. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/prism.h +408 -0
  103. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/regexp.h +43 -0
  104. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/static_literals.h +121 -0
  105. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_buffer.h +236 -0
  106. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_char.h +204 -0
  107. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_constant_pool.h +218 -0
  108. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_integer.h +130 -0
  109. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_list.h +103 -0
  110. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_memchr.h +29 -0
  111. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_newline_list.h +113 -0
  112. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_string.h +200 -0
  113. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_strncasecmp.h +32 -0
  114. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/util/pm_strpbrk.h +46 -0
  115. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism/version.h +29 -0
  116. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/prism_compile.h +106 -0
  117. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/probes_helper.h +42 -0
  118. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/ractor_core.h +306 -0
  119. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/regenc.h +259 -0
  120. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/regint.h +1005 -0
  121. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/regparse.h +371 -0
  122. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/revision.h +5 -0
  123. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/ruby_assert.h +14 -0
  124. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/ruby_atomic.h +66 -0
  125. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/rubyparser.h +1394 -0
  126. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/shape.h +444 -0
  127. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/siphash.h +48 -0
  128. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/symbol.h +116 -0
  129. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/thread_none.h +21 -0
  130. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/thread_pthread.h +175 -0
  131. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/thread_win32.h +58 -0
  132. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/timev.h +58 -0
  133. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/transcode_data.h +138 -0
  134. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/variable.h +27 -0
  135. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/version.h +69 -0
  136. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm.inc +6183 -0
  137. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm_call_iseq_optimized.inc +244 -0
  138. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm_callinfo.h +640 -0
  139. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm_core.h +2350 -0
  140. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm_debug.h +124 -0
  141. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm_exec.h +210 -0
  142. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm_insnhelper.h +277 -0
  143. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm_opts.h +67 -0
  144. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vm_sync.h +156 -0
  145. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/vmtc.inc +289 -0
  146. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/yjit.h +81 -0
  147. data/lib/debase/ruby_core_source/ruby-4.0.0-preview2/zjit.h +47 -0
  148. data/lib/debase/ruby_core_source/version.rb +1 -1
  149. metadata +148 -3
@@ -0,0 +1,354 @@
1
+ /* DO NOT EDIT THIS FILE DIRECTLY: source is at template/id.h.tmpl */
2
+ /**********************************************************************
3
+
4
+ id.h -
5
+
6
+ $Author$
7
+ created at: Sun Oct 19 21:12:51 2008
8
+
9
+ Copyright (C) 2007 Koichi Sasada
10
+
11
+ **********************************************************************/
12
+
13
+ #ifndef RUBY_ID_H
14
+ #define RUBY_ID_H
15
+
16
+ enum ruby_id_types {
17
+ RUBY_ID_LOCAL = 0x00,
18
+ RUBY_ID_STATIC_SYM = 0x01,
19
+ RUBY_ID_INSTANCE = (0x01<<1),
20
+ RUBY_ID_GLOBAL = (0x03<<1),
21
+ RUBY_ID_ATTRSET = (0x04<<1),
22
+ RUBY_ID_CONST = (0x05<<1),
23
+ RUBY_ID_CLASS = (0x06<<1),
24
+ RUBY_ID_INTERNAL = (0x07<<1),
25
+ RUBY_ID_SCOPE_SHIFT = 4,
26
+ RUBY_ID_SCOPE_MASK = (~(~0U<<(RUBY_ID_SCOPE_SHIFT-1))<<1)
27
+ };
28
+
29
+ #define ID_STATIC_SYM RUBY_ID_STATIC_SYM
30
+ #define ID_SCOPE_SHIFT RUBY_ID_SCOPE_SHIFT
31
+ #define ID_SCOPE_MASK RUBY_ID_SCOPE_MASK
32
+ #define ID_LOCAL RUBY_ID_LOCAL
33
+ #define ID_INSTANCE RUBY_ID_INSTANCE
34
+ #define ID_GLOBAL RUBY_ID_GLOBAL
35
+ #define ID_ATTRSET RUBY_ID_ATTRSET
36
+ #define ID_CONST RUBY_ID_CONST
37
+ #define ID_CLASS RUBY_ID_CLASS
38
+ #define ID_INTERNAL RUBY_ID_INTERNAL
39
+
40
+ #define symIFUNC ID2SYM(idIFUNC)
41
+ #define symCFUNC ID2SYM(idCFUNC)
42
+
43
+ #define RUBY_TOKEN_DOT2 128
44
+ #define RUBY_TOKEN_DOT3 129
45
+ #define RUBY_TOKEN_BDOT2 130
46
+ #define RUBY_TOKEN_BDOT3 131
47
+ #define RUBY_TOKEN_UPLUS 132
48
+ #define RUBY_TOKEN_UMINUS 133
49
+ #define RUBY_TOKEN_POW 134
50
+ #define RUBY_TOKEN_CMP 135
51
+ #define RUBY_TOKEN_LSHFT 136
52
+ #define RUBY_TOKEN_RSHFT 137
53
+ #define RUBY_TOKEN_LEQ 138
54
+ #define RUBY_TOKEN_GEQ 139
55
+ #define RUBY_TOKEN_EQ 140
56
+ #define RUBY_TOKEN_EQQ 141
57
+ #define RUBY_TOKEN_NEQ 142
58
+ #define RUBY_TOKEN_MATCH 143
59
+ #define RUBY_TOKEN_NMATCH 144
60
+ #define RUBY_TOKEN_AREF 145
61
+ #define RUBY_TOKEN_ASET 146
62
+ #define RUBY_TOKEN_COLON2 147
63
+ #define RUBY_TOKEN_ANDOP 148
64
+ #define RUBY_TOKEN_OROP 149
65
+ #define RUBY_TOKEN_ANDDOT 150
66
+ #define RUBY_TOKEN(t) RUBY_TOKEN_##t
67
+
68
+ #define RUBY_TOKEN2ID_TYPE(tok, type) ((tok<<RUBY_ID_SCOPE_SHIFT)|type|RUBY_ID_STATIC_SYM)
69
+ #define TOKEN2LOCALID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_LOCAL)
70
+ #define TOKEN2INSTANCEID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_INSTANCE)
71
+ #define TOKEN2GLOBALID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_GLOBAL)
72
+ #define TOKEN2CONSTID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_CONST)
73
+ #define TOKEN2CLASSID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_CLASS)
74
+ #define TOKEN2ATTRSETID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_ATTRSET)
75
+
76
+ enum ruby_method_ids {
77
+ idDot2 = RUBY_TOKEN(DOT2),
78
+ idDot3 = RUBY_TOKEN(DOT3),
79
+ idUPlus = RUBY_TOKEN(UPLUS),
80
+ idUMinus = RUBY_TOKEN(UMINUS),
81
+ idPow = RUBY_TOKEN(POW),
82
+ idCmp = RUBY_TOKEN(CMP),
83
+ idPLUS = '+',
84
+ idMINUS = '-',
85
+ idMULT = '*',
86
+ idDIV = '/',
87
+ idMOD = '%',
88
+ idLTLT = RUBY_TOKEN(LSHFT),
89
+ idGTGT = RUBY_TOKEN(RSHFT),
90
+ idLT = '<',
91
+ idLE = RUBY_TOKEN(LEQ),
92
+ idGT = '>',
93
+ idGE = RUBY_TOKEN(GEQ),
94
+ idEq = RUBY_TOKEN(EQ),
95
+ idEqq = RUBY_TOKEN(EQQ),
96
+ idNeq = RUBY_TOKEN(NEQ),
97
+ idNot = '!',
98
+ idAnd = '&',
99
+ idOr = '|',
100
+ idBackquote = '`',
101
+ idEqTilde = RUBY_TOKEN(MATCH),
102
+ idNeqTilde = RUBY_TOKEN(NMATCH),
103
+ idAREF = RUBY_TOKEN(AREF),
104
+ idASET = RUBY_TOKEN(ASET),
105
+ idCOLON2 = RUBY_TOKEN(COLON2),
106
+ idANDOP = RUBY_TOKEN(ANDOP),
107
+ idOROP = RUBY_TOKEN(OROP),
108
+ idANDDOT = RUBY_TOKEN(ANDDOT),
109
+ tPRESERVED_ID_BEGIN = 150,
110
+ idNilP,
111
+ idIncludeP,
112
+ idNULL,
113
+ idEmptyP,
114
+ idEqlP,
115
+ idRespond_to,
116
+ idRespond_to_missing,
117
+ idIFUNC,
118
+ idCFUNC,
119
+ id_core_set_method_alias,
120
+ id_core_set_variable_alias,
121
+ id_core_undef_method,
122
+ id_core_define_method,
123
+ id_core_define_singleton_method,
124
+ id_core_set_postexe,
125
+ id_core_hash_merge_ptr,
126
+ id_core_hash_merge_kwd,
127
+ id_core_raise,
128
+ id_core_sprintf,
129
+ id_debug_created_info,
130
+ tPRESERVED_ID_END,
131
+
132
+ /* LOCAL tokens {{{ */
133
+ tTOKEN_LOCAL_BEGIN = tPRESERVED_ID_END-1,
134
+ tMax,
135
+ tMin,
136
+ tHash,
137
+ tFreeze,
138
+ tInspect,
139
+ tIntern,
140
+ tObject_id,
141
+ t__id__,
142
+ tConst_added,
143
+ tConst_missing,
144
+ tMethodMissing,
145
+ tMethod_added,
146
+ tSingleton_method_added,
147
+ tMethod_removed,
148
+ tSingleton_method_removed,
149
+ tMethod_undefined,
150
+ tSingleton_method_undefined,
151
+ tLength,
152
+ tSize,
153
+ tGets,
154
+ tSucc,
155
+ tEach,
156
+ tProc,
157
+ tLambda,
158
+ tSend,
159
+ t__send__,
160
+ t__recursive_key__,
161
+ tInitialize,
162
+ tInitialize_copy,
163
+ tInitialize_clone,
164
+ tInitialize_dup,
165
+ tTo_int,
166
+ tTo_ary,
167
+ tTo_str,
168
+ tTo_sym,
169
+ tTo_hash,
170
+ tTo_proc,
171
+ tTo_io,
172
+ tTo_a,
173
+ tTo_s,
174
+ tTo_i,
175
+ tTo_f,
176
+ tTo_r,
177
+ tBt,
178
+ tBt_locations,
179
+ tCall,
180
+ tMesg,
181
+ tException,
182
+ tLocals,
183
+ tNOT,
184
+ tAND,
185
+ tOR,
186
+ tDiv,
187
+ tDivmod,
188
+ tFdiv,
189
+ tQuo,
190
+ tName,
191
+ tNil,
192
+ tPath,
193
+ tPack,
194
+ tBuffer,
195
+ tAborted,
196
+ tExited,
197
+ tUScore,
198
+ tNUMPARAM_1,
199
+ tNUMPARAM_2,
200
+ tNUMPARAM_3,
201
+ tNUMPARAM_4,
202
+ tNUMPARAM_5,
203
+ tNUMPARAM_6,
204
+ tNUMPARAM_7,
205
+ tNUMPARAM_8,
206
+ tNUMPARAM_9,
207
+ tDefault,
208
+ tTOKEN_LOCAL_END,
209
+ /* LOCAL tokens }}} */
210
+
211
+ /* INSTANCE tokens {{{ */
212
+ tTOKEN_INSTANCE_BEGIN = tTOKEN_LOCAL_END-1,
213
+ tTOKEN_INSTANCE_END,
214
+ /* INSTANCE tokens }}} */
215
+
216
+ /* GLOBAL tokens {{{ */
217
+ tTOKEN_GLOBAL_BEGIN = tTOKEN_INSTANCE_END-1,
218
+ tLASTLINE,
219
+ tBACKREF,
220
+ tERROR_INFO,
221
+ tTOKEN_GLOBAL_END,
222
+ /* GLOBAL tokens }}} */
223
+
224
+ /* CONST tokens {{{ */
225
+ tTOKEN_CONST_BEGIN = tTOKEN_GLOBAL_END-1,
226
+ tRuby,
227
+ tTOKEN_CONST_END,
228
+ /* CONST tokens }}} */
229
+
230
+ /* CLASS tokens {{{ */
231
+ tTOKEN_CLASS_BEGIN = tTOKEN_CONST_END-1,
232
+ tTOKEN_CLASS_END,
233
+ /* CLASS tokens }}} */
234
+
235
+ /* ATTRSET tokens {{{ */
236
+ tTOKEN_ATTRSET_BEGIN = tTOKEN_CLASS_END-1,
237
+ tTOKEN_ATTRSET_END,
238
+ /* ATTRSET tokens }}} */
239
+
240
+ tNEXT_ID = tTOKEN_ATTRSET_END,
241
+
242
+ /* LOCAL IDs {{{ */
243
+ #define DEFINE_LOCALID_FROM_TOKEN(n) id##n = TOKEN2LOCALID(t##n)
244
+ DEFINE_LOCALID_FROM_TOKEN(Max),
245
+ DEFINE_LOCALID_FROM_TOKEN(Min),
246
+ DEFINE_LOCALID_FROM_TOKEN(Hash),
247
+ DEFINE_LOCALID_FROM_TOKEN(Freeze),
248
+ DEFINE_LOCALID_FROM_TOKEN(Inspect),
249
+ DEFINE_LOCALID_FROM_TOKEN(Intern),
250
+ DEFINE_LOCALID_FROM_TOKEN(Object_id),
251
+ DEFINE_LOCALID_FROM_TOKEN(__id__),
252
+ DEFINE_LOCALID_FROM_TOKEN(Const_added),
253
+ DEFINE_LOCALID_FROM_TOKEN(Const_missing),
254
+ DEFINE_LOCALID_FROM_TOKEN(MethodMissing),
255
+ DEFINE_LOCALID_FROM_TOKEN(Method_added),
256
+ DEFINE_LOCALID_FROM_TOKEN(Singleton_method_added),
257
+ DEFINE_LOCALID_FROM_TOKEN(Method_removed),
258
+ DEFINE_LOCALID_FROM_TOKEN(Singleton_method_removed),
259
+ DEFINE_LOCALID_FROM_TOKEN(Method_undefined),
260
+ DEFINE_LOCALID_FROM_TOKEN(Singleton_method_undefined),
261
+ DEFINE_LOCALID_FROM_TOKEN(Length),
262
+ DEFINE_LOCALID_FROM_TOKEN(Size),
263
+ DEFINE_LOCALID_FROM_TOKEN(Gets),
264
+ DEFINE_LOCALID_FROM_TOKEN(Succ),
265
+ DEFINE_LOCALID_FROM_TOKEN(Each),
266
+ DEFINE_LOCALID_FROM_TOKEN(Proc),
267
+ DEFINE_LOCALID_FROM_TOKEN(Lambda),
268
+ DEFINE_LOCALID_FROM_TOKEN(Send),
269
+ DEFINE_LOCALID_FROM_TOKEN(__send__),
270
+ DEFINE_LOCALID_FROM_TOKEN(__recursive_key__),
271
+ DEFINE_LOCALID_FROM_TOKEN(Initialize),
272
+ DEFINE_LOCALID_FROM_TOKEN(Initialize_copy),
273
+ DEFINE_LOCALID_FROM_TOKEN(Initialize_clone),
274
+ DEFINE_LOCALID_FROM_TOKEN(Initialize_dup),
275
+ DEFINE_LOCALID_FROM_TOKEN(To_int),
276
+ DEFINE_LOCALID_FROM_TOKEN(To_ary),
277
+ DEFINE_LOCALID_FROM_TOKEN(To_str),
278
+ DEFINE_LOCALID_FROM_TOKEN(To_sym),
279
+ DEFINE_LOCALID_FROM_TOKEN(To_hash),
280
+ DEFINE_LOCALID_FROM_TOKEN(To_proc),
281
+ DEFINE_LOCALID_FROM_TOKEN(To_io),
282
+ DEFINE_LOCALID_FROM_TOKEN(To_a),
283
+ DEFINE_LOCALID_FROM_TOKEN(To_s),
284
+ DEFINE_LOCALID_FROM_TOKEN(To_i),
285
+ DEFINE_LOCALID_FROM_TOKEN(To_f),
286
+ DEFINE_LOCALID_FROM_TOKEN(To_r),
287
+ DEFINE_LOCALID_FROM_TOKEN(Bt),
288
+ DEFINE_LOCALID_FROM_TOKEN(Bt_locations),
289
+ DEFINE_LOCALID_FROM_TOKEN(Call),
290
+ DEFINE_LOCALID_FROM_TOKEN(Mesg),
291
+ DEFINE_LOCALID_FROM_TOKEN(Exception),
292
+ DEFINE_LOCALID_FROM_TOKEN(Locals),
293
+ DEFINE_LOCALID_FROM_TOKEN(NOT),
294
+ DEFINE_LOCALID_FROM_TOKEN(AND),
295
+ DEFINE_LOCALID_FROM_TOKEN(OR),
296
+ DEFINE_LOCALID_FROM_TOKEN(Div),
297
+ DEFINE_LOCALID_FROM_TOKEN(Divmod),
298
+ DEFINE_LOCALID_FROM_TOKEN(Fdiv),
299
+ DEFINE_LOCALID_FROM_TOKEN(Quo),
300
+ DEFINE_LOCALID_FROM_TOKEN(Name),
301
+ DEFINE_LOCALID_FROM_TOKEN(Nil),
302
+ DEFINE_LOCALID_FROM_TOKEN(Path),
303
+ DEFINE_LOCALID_FROM_TOKEN(Pack),
304
+ DEFINE_LOCALID_FROM_TOKEN(Buffer),
305
+ DEFINE_LOCALID_FROM_TOKEN(Aborted),
306
+ DEFINE_LOCALID_FROM_TOKEN(Exited),
307
+ DEFINE_LOCALID_FROM_TOKEN(UScore),
308
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_1),
309
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_2),
310
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_3),
311
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_4),
312
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_5),
313
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_6),
314
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_7),
315
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_8),
316
+ DEFINE_LOCALID_FROM_TOKEN(NUMPARAM_9),
317
+ DEFINE_LOCALID_FROM_TOKEN(Default),
318
+ #undef DEFINE_LOCALID_FROM_TOKEN
319
+ /* LOCAL IDs }}} */
320
+
321
+ /* INSTANCE IDs {{{ */
322
+ #define DEFINE_INSTANCEID_FROM_TOKEN(n) id##n = TOKEN2INSTANCEID(t##n)
323
+ #undef DEFINE_INSTANCEID_FROM_TOKEN
324
+ /* INSTANCE IDs }}} */
325
+
326
+ /* GLOBAL IDs {{{ */
327
+ #define DEFINE_GLOBALID_FROM_TOKEN(n) id##n = TOKEN2GLOBALID(t##n)
328
+ DEFINE_GLOBALID_FROM_TOKEN(LASTLINE),
329
+ DEFINE_GLOBALID_FROM_TOKEN(BACKREF),
330
+ DEFINE_GLOBALID_FROM_TOKEN(ERROR_INFO),
331
+ #undef DEFINE_GLOBALID_FROM_TOKEN
332
+ /* GLOBAL IDs }}} */
333
+
334
+ /* CONST IDs {{{ */
335
+ #define DEFINE_CONSTID_FROM_TOKEN(n) id##n = TOKEN2CONSTID(t##n)
336
+ DEFINE_CONSTID_FROM_TOKEN(Ruby),
337
+ #undef DEFINE_CONSTID_FROM_TOKEN
338
+ /* CONST IDs }}} */
339
+
340
+ /* CLASS IDs {{{ */
341
+ #define DEFINE_CLASSID_FROM_TOKEN(n) id##n = TOKEN2CLASSID(t##n)
342
+ #undef DEFINE_CLASSID_FROM_TOKEN
343
+ /* CLASS IDs }}} */
344
+
345
+ /* ATTRSET IDs {{{ */
346
+ #define DEFINE_ATTRSETID_FROM_TOKEN(n) id##n = TOKEN2ATTRSETID(t##n)
347
+ #undef DEFINE_ATTRSETID_FROM_TOKEN
348
+ /* ATTRSET IDs }}} */
349
+
350
+ tLAST_OP_ID = tPRESERVED_ID_END-1,
351
+ idLAST_OP_ID = tLAST_OP_ID >> ID_SCOPE_SHIFT
352
+ };
353
+
354
+ #endif /* RUBY_ID_H */
@@ -0,0 +1,54 @@
1
+ #ifndef RUBY_ID_TABLE_H
2
+ #define RUBY_ID_TABLE_H 1
3
+ #include "ruby/internal/config.h"
4
+ #include <stddef.h>
5
+ #include "ruby/ruby.h"
6
+
7
+ struct rb_id_table;
8
+
9
+ /* compatible with ST_* */
10
+ enum rb_id_table_iterator_result {
11
+ ID_TABLE_CONTINUE = ST_CONTINUE,
12
+ ID_TABLE_STOP = ST_STOP,
13
+ ID_TABLE_DELETE = ST_DELETE,
14
+ ID_TABLE_REPLACE = ST_REPLACE,
15
+ ID_TABLE_ITERATOR_RESULT_END
16
+ };
17
+
18
+ struct rb_id_table *rb_id_table_create(size_t size);
19
+ struct rb_id_table *rb_id_table_init(struct rb_id_table *tbl, size_t capa);
20
+
21
+ void rb_id_table_free(struct rb_id_table *tbl);
22
+ void rb_id_table_free_items(struct rb_id_table *tbl);
23
+ void rb_id_table_clear(struct rb_id_table *tbl);
24
+
25
+ size_t rb_id_table_memsize(const struct rb_id_table *tbl);
26
+
27
+ int rb_id_table_insert(struct rb_id_table *tbl, ID id, VALUE val);
28
+ int rb_id_table_lookup(struct rb_id_table *tbl, ID id, VALUE *valp);
29
+ int rb_id_table_delete(struct rb_id_table *tbl, ID id);
30
+
31
+ typedef enum rb_id_table_iterator_result rb_id_table_update_value_callback_func_t(VALUE *val, void *data, int existing);
32
+ typedef enum rb_id_table_iterator_result rb_id_table_foreach_func_t(ID id, VALUE val, void *data);
33
+ typedef enum rb_id_table_iterator_result rb_id_table_foreach_values_func_t(VALUE val, void *data);
34
+ void rb_id_table_foreach(struct rb_id_table *tbl, rb_id_table_foreach_func_t *func, void *data);
35
+ void rb_id_table_foreach_values(struct rb_id_table *tbl, rb_id_table_foreach_values_func_t *func, void *data);
36
+ void rb_id_table_foreach_values_with_replace(struct rb_id_table *tbl, rb_id_table_foreach_values_func_t *func, rb_id_table_update_value_callback_func_t *replace, void *data);
37
+
38
+ VALUE rb_managed_id_table_create(const rb_data_type_t *type, size_t capa);
39
+ VALUE rb_managed_id_table_new(size_t capa);
40
+ VALUE rb_managed_id_table_dup(VALUE table);
41
+ int rb_managed_id_table_insert(VALUE table, ID id, VALUE val);
42
+ int rb_managed_id_table_lookup(VALUE table, ID id, VALUE *valp);
43
+ size_t rb_managed_id_table_size(VALUE table);
44
+ void rb_managed_id_table_foreach(VALUE table, rb_id_table_foreach_func_t *func, void *data);
45
+ void rb_managed_id_table_foreach_values(VALUE table, rb_id_table_foreach_values_func_t *func, void *data);
46
+ int rb_managed_id_table_delete(VALUE table, ID id);
47
+
48
+ extern const rb_data_type_t rb_managed_id_table_type;
49
+
50
+ RUBY_SYMBOL_EXPORT_BEGIN
51
+ size_t rb_id_table_size(const struct rb_id_table *tbl);
52
+ RUBY_SYMBOL_EXPORT_END
53
+
54
+ #endif /* RUBY_ID_TABLE_H */
@@ -0,0 +1,302 @@
1
+ /* -*- C -*- */
2
+
3
+ /* This is an auto-generated file and is a part of the programming language
4
+ * Ruby. The person who created a program to generate this file (``I''
5
+ * hereafter) would like to refrain from defining licensing of this generated
6
+ * source code.
7
+ *
8
+ * This file consists of many small parts of codes copyrighted by each author,
9
+ * not only the ``I'' person. Those original authors agree with some
10
+ * open-source license. I believe that the license we agree is the condition
11
+ * mentioned in the file COPYING. It states "4. You may modify and include
12
+ * the part of the software into any other software ...". But the problem is,
13
+ * the license never makes it clear if such modified parts still remain in the
14
+ * same license, or not. The fact that we agree with the source code's
15
+ * licensing terms does not automatically define that of generated ones. This
16
+ * is the reason why this file is under an unclear situation. All what I know
17
+ * is that above provision guarantees this file to exist.
18
+ *
19
+ * Please let me hesitate to declare something about this nuanced contract. I
20
+ * am not in the position to take over other authors' license to merge into my
21
+ * one. Changing them to (say) GPLv3 is not doable by myself. Perhaps someday
22
+ * it might turn out to be okay to say this file is under a license. I wish
23
+ * the situation would become more clear in the future. */
24
+
25
+ /*******************************************************************/
26
+ /*******************************************************************/
27
+ /*******************************************************************/
28
+ /**
29
+ This file contains YARV instruction list.
30
+
31
+ ----
32
+ This file is auto generated by insns2vm.rb
33
+ DO NOT TOUCH!
34
+
35
+ If you want to fix something, you must edit "tool/ruby_vm/views/insns.inc.erb"
36
+ or tool/insns2vm.rb
37
+ */
38
+
39
+ #ifndef INSNS_INC
40
+ #define INSNS_INC 1
41
+
42
+ /* BIN : Basic Instruction Name */
43
+ #define BIN(n) YARVINSN_##n
44
+
45
+ enum ruby_vminsn_type {
46
+ BIN(nop),
47
+ BIN(getlocal),
48
+ BIN(setlocal),
49
+ BIN(getblockparam),
50
+ BIN(setblockparam),
51
+ BIN(getblockparamproxy),
52
+ BIN(getspecial),
53
+ BIN(setspecial),
54
+ BIN(getinstancevariable),
55
+ BIN(setinstancevariable),
56
+ BIN(getclassvariable),
57
+ BIN(setclassvariable),
58
+ BIN(opt_getconstant_path),
59
+ BIN(getconstant),
60
+ BIN(setconstant),
61
+ BIN(getglobal),
62
+ BIN(setglobal),
63
+ BIN(putnil),
64
+ BIN(putself),
65
+ BIN(putobject),
66
+ BIN(putspecialobject),
67
+ BIN(putstring),
68
+ BIN(putchilledstring),
69
+ BIN(concatstrings),
70
+ BIN(anytostring),
71
+ BIN(toregexp),
72
+ BIN(intern),
73
+ BIN(newarray),
74
+ BIN(pushtoarraykwsplat),
75
+ BIN(duparray),
76
+ BIN(duphash),
77
+ BIN(expandarray),
78
+ BIN(concatarray),
79
+ BIN(concattoarray),
80
+ BIN(pushtoarray),
81
+ BIN(splatarray),
82
+ BIN(splatkw),
83
+ BIN(newhash),
84
+ BIN(newrange),
85
+ BIN(pop),
86
+ BIN(dup),
87
+ BIN(dupn),
88
+ BIN(swap),
89
+ BIN(opt_reverse),
90
+ BIN(topn),
91
+ BIN(setn),
92
+ BIN(adjuststack),
93
+ BIN(defined),
94
+ BIN(definedivar),
95
+ BIN(checkmatch),
96
+ BIN(checkkeyword),
97
+ BIN(checktype),
98
+ BIN(defineclass),
99
+ BIN(definemethod),
100
+ BIN(definesmethod),
101
+ BIN(send),
102
+ BIN(sendforward),
103
+ BIN(opt_send_without_block),
104
+ BIN(opt_new),
105
+ BIN(objtostring),
106
+ BIN(opt_ary_freeze),
107
+ BIN(opt_hash_freeze),
108
+ BIN(opt_str_freeze),
109
+ BIN(opt_nil_p),
110
+ BIN(opt_str_uminus),
111
+ BIN(opt_duparray_send),
112
+ BIN(opt_newarray_send),
113
+ BIN(invokesuper),
114
+ BIN(invokesuperforward),
115
+ BIN(invokeblock),
116
+ BIN(leave),
117
+ BIN(throw),
118
+ BIN(jump),
119
+ BIN(branchif),
120
+ BIN(branchunless),
121
+ BIN(branchnil),
122
+ BIN(once),
123
+ BIN(opt_case_dispatch),
124
+ BIN(opt_plus),
125
+ BIN(opt_minus),
126
+ BIN(opt_mult),
127
+ BIN(opt_div),
128
+ BIN(opt_mod),
129
+ BIN(opt_eq),
130
+ BIN(opt_neq),
131
+ BIN(opt_lt),
132
+ BIN(opt_le),
133
+ BIN(opt_gt),
134
+ BIN(opt_ge),
135
+ BIN(opt_ltlt),
136
+ BIN(opt_and),
137
+ BIN(opt_or),
138
+ BIN(opt_aref),
139
+ BIN(opt_aset),
140
+ BIN(opt_length),
141
+ BIN(opt_size),
142
+ BIN(opt_empty_p),
143
+ BIN(opt_succ),
144
+ BIN(opt_not),
145
+ BIN(opt_regexpmatch2),
146
+ BIN(invokebuiltin),
147
+ BIN(opt_invokebuiltin_delegate),
148
+ BIN(opt_invokebuiltin_delegate_leave),
149
+ BIN(getlocal_WC_0),
150
+ BIN(getlocal_WC_1),
151
+ BIN(setlocal_WC_0),
152
+ BIN(setlocal_WC_1),
153
+ BIN(putobject_INT2FIX_0_),
154
+ BIN(putobject_INT2FIX_1_),
155
+ BIN(trace_nop),
156
+ BIN(trace_getlocal),
157
+ BIN(trace_setlocal),
158
+ BIN(trace_getblockparam),
159
+ BIN(trace_setblockparam),
160
+ BIN(trace_getblockparamproxy),
161
+ BIN(trace_getspecial),
162
+ BIN(trace_setspecial),
163
+ BIN(trace_getinstancevariable),
164
+ BIN(trace_setinstancevariable),
165
+ BIN(trace_getclassvariable),
166
+ BIN(trace_setclassvariable),
167
+ BIN(trace_opt_getconstant_path),
168
+ BIN(trace_getconstant),
169
+ BIN(trace_setconstant),
170
+ BIN(trace_getglobal),
171
+ BIN(trace_setglobal),
172
+ BIN(trace_putnil),
173
+ BIN(trace_putself),
174
+ BIN(trace_putobject),
175
+ BIN(trace_putspecialobject),
176
+ BIN(trace_putstring),
177
+ BIN(trace_putchilledstring),
178
+ BIN(trace_concatstrings),
179
+ BIN(trace_anytostring),
180
+ BIN(trace_toregexp),
181
+ BIN(trace_intern),
182
+ BIN(trace_newarray),
183
+ BIN(trace_pushtoarraykwsplat),
184
+ BIN(trace_duparray),
185
+ BIN(trace_duphash),
186
+ BIN(trace_expandarray),
187
+ BIN(trace_concatarray),
188
+ BIN(trace_concattoarray),
189
+ BIN(trace_pushtoarray),
190
+ BIN(trace_splatarray),
191
+ BIN(trace_splatkw),
192
+ BIN(trace_newhash),
193
+ BIN(trace_newrange),
194
+ BIN(trace_pop),
195
+ BIN(trace_dup),
196
+ BIN(trace_dupn),
197
+ BIN(trace_swap),
198
+ BIN(trace_opt_reverse),
199
+ BIN(trace_topn),
200
+ BIN(trace_setn),
201
+ BIN(trace_adjuststack),
202
+ BIN(trace_defined),
203
+ BIN(trace_definedivar),
204
+ BIN(trace_checkmatch),
205
+ BIN(trace_checkkeyword),
206
+ BIN(trace_checktype),
207
+ BIN(trace_defineclass),
208
+ BIN(trace_definemethod),
209
+ BIN(trace_definesmethod),
210
+ BIN(trace_send),
211
+ BIN(trace_sendforward),
212
+ BIN(trace_opt_send_without_block),
213
+ BIN(trace_opt_new),
214
+ BIN(trace_objtostring),
215
+ BIN(trace_opt_ary_freeze),
216
+ BIN(trace_opt_hash_freeze),
217
+ BIN(trace_opt_str_freeze),
218
+ BIN(trace_opt_nil_p),
219
+ BIN(trace_opt_str_uminus),
220
+ BIN(trace_opt_duparray_send),
221
+ BIN(trace_opt_newarray_send),
222
+ BIN(trace_invokesuper),
223
+ BIN(trace_invokesuperforward),
224
+ BIN(trace_invokeblock),
225
+ BIN(trace_leave),
226
+ BIN(trace_throw),
227
+ BIN(trace_jump),
228
+ BIN(trace_branchif),
229
+ BIN(trace_branchunless),
230
+ BIN(trace_branchnil),
231
+ BIN(trace_once),
232
+ BIN(trace_opt_case_dispatch),
233
+ BIN(trace_opt_plus),
234
+ BIN(trace_opt_minus),
235
+ BIN(trace_opt_mult),
236
+ BIN(trace_opt_div),
237
+ BIN(trace_opt_mod),
238
+ BIN(trace_opt_eq),
239
+ BIN(trace_opt_neq),
240
+ BIN(trace_opt_lt),
241
+ BIN(trace_opt_le),
242
+ BIN(trace_opt_gt),
243
+ BIN(trace_opt_ge),
244
+ BIN(trace_opt_ltlt),
245
+ BIN(trace_opt_and),
246
+ BIN(trace_opt_or),
247
+ BIN(trace_opt_aref),
248
+ BIN(trace_opt_aset),
249
+ BIN(trace_opt_length),
250
+ BIN(trace_opt_size),
251
+ BIN(trace_opt_empty_p),
252
+ BIN(trace_opt_succ),
253
+ BIN(trace_opt_not),
254
+ BIN(trace_opt_regexpmatch2),
255
+ BIN(trace_invokebuiltin),
256
+ BIN(trace_opt_invokebuiltin_delegate),
257
+ BIN(trace_opt_invokebuiltin_delegate_leave),
258
+ BIN(trace_getlocal_WC_0),
259
+ BIN(trace_getlocal_WC_1),
260
+ BIN(trace_setlocal_WC_0),
261
+ BIN(trace_setlocal_WC_1),
262
+ BIN(trace_putobject_INT2FIX_0_),
263
+ BIN(trace_putobject_INT2FIX_1_),
264
+ #if USE_ZJIT
265
+ BIN(zjit_getinstancevariable),
266
+ BIN(zjit_send),
267
+ BIN(zjit_opt_send_without_block),
268
+ BIN(zjit_objtostring),
269
+ BIN(zjit_opt_nil_p),
270
+ BIN(zjit_invokeblock),
271
+ BIN(zjit_opt_plus),
272
+ BIN(zjit_opt_minus),
273
+ BIN(zjit_opt_mult),
274
+ BIN(zjit_opt_div),
275
+ BIN(zjit_opt_mod),
276
+ BIN(zjit_opt_eq),
277
+ BIN(zjit_opt_neq),
278
+ BIN(zjit_opt_lt),
279
+ BIN(zjit_opt_le),
280
+ BIN(zjit_opt_gt),
281
+ BIN(zjit_opt_ge),
282
+ BIN(zjit_opt_ltlt),
283
+ BIN(zjit_opt_and),
284
+ BIN(zjit_opt_or),
285
+ BIN(zjit_opt_aref),
286
+ BIN(zjit_opt_aset),
287
+ BIN(zjit_opt_length),
288
+ BIN(zjit_opt_size),
289
+ BIN(zjit_opt_empty_p),
290
+ BIN(zjit_opt_succ),
291
+ BIN(zjit_opt_not),
292
+ BIN(zjit_opt_regexpmatch2),
293
+ #endif
294
+ VM_INSTRUCTION_SIZE
295
+ };
296
+
297
+ #define VM_BARE_INSTRUCTION_SIZE 109
298
+
299
+ #define ASSERT_VM_INSTRUCTION_SIZE(array) \
300
+ STATIC_ASSERT(numberof_##array, numberof(array) == VM_INSTRUCTION_SIZE)
301
+
302
+ #endif