debase-ruby_core_source 0.10.9 → 0.10.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +1 -1
  4. data/Rakefile +6 -3
  5. data/debase-ruby_core_source.gemspec +2 -1
  6. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/addr2line.h +2 -3
  7. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/builtin.h +17 -2
  8. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/ccan/build_assert/build_assert.h +0 -0
  9. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/ccan/check_type/check_type.h +0 -0
  10. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/ccan/container_of/container_of.h +0 -0
  11. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/ccan/list/list.h +0 -0
  12. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/ccan/str/str.h +0 -0
  13. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/constant.h +10 -5
  14. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/debug_counter.h +127 -48
  15. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/dln.h +3 -18
  16. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/encindex.h +3 -2
  17. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/eval_intern.h +16 -7
  18. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/gc.h +13 -2
  19. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/hrtime.h +0 -0
  20. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/id.h +0 -0
  21. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/id_table.h +2 -0
  22. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/insns.inc +0 -4
  23. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/insns_info.inc +323 -536
  24. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/array.h +119 -0
  25. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/bignum.h +246 -0
  26. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/bits.h +566 -0
  27. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/class.h +174 -0
  28. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/compar.h +50 -0
  29. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/compile.h +32 -0
  30. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/compilers.h +108 -0
  31. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/complex.h +29 -0
  32. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/cont.h +25 -0
  33. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/dir.h +17 -0
  34. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/enc.h +20 -0
  35. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/encoding.h +28 -0
  36. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/enum.h +19 -0
  37. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/enumerator.h +22 -0
  38. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/error.h +124 -0
  39. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/eval.h +33 -0
  40. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/file.h +39 -0
  41. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/fixnum.h +185 -0
  42. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/gc.h +161 -0
  43. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/hash.h +241 -0
  44. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/imemo.h +243 -0
  45. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/inits.h +51 -0
  46. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/io.h +35 -0
  47. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/load.h +19 -0
  48. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/loadpath.h +17 -0
  49. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/math.h +24 -0
  50. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/missing.h +19 -0
  51. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/numeric.h +255 -0
  52. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/object.h +83 -0
  53. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/parse.h +23 -0
  54. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/proc.h +33 -0
  55. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/process.h +136 -0
  56. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/random.h +17 -0
  57. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/range.h +41 -0
  58. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/rational.h +71 -0
  59. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/re.h +29 -0
  60. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/sanitizers.h +191 -0
  61. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/scheduler.h +44 -0
  62. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/serial.h +24 -0
  63. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/signal.h +22 -0
  64. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/static_assert.h +17 -0
  65. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/string.h +140 -0
  66. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/struct.h +154 -0
  67. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/symbol.h +41 -0
  68. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/thread.h +54 -0
  69. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/time.h +35 -0
  70. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/transcode.h +21 -0
  71. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/util.h +31 -0
  72. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/variable.h +84 -0
  73. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/vm.h +136 -0
  74. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal/warnings.h +17 -0
  75. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/internal.h +107 -0
  76. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/iseq.h +11 -18
  77. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/known_errors.inc +0 -0
  78. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/method.h +21 -8
  79. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/mjit.h +89 -48
  80. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/mjit_compile.inc +2746 -2288
  81. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/node.h +32 -24
  82. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/node_name.inc +2 -2
  83. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/opt_sc.inc +0 -0
  84. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/optinsn.inc +0 -0
  85. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/optunifs.inc +0 -0
  86. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/parse.h +1 -0
  87. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/probes_helper.h +2 -0
  88. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/ractor_core.h +343 -0
  89. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/regenc.h +0 -0
  90. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/regint.h +1 -1
  91. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/regparse.h +0 -0
  92. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/revision.h +2 -0
  93. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/ruby_assert.h +15 -0
  94. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/ruby_atomic.h +23 -0
  95. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/siphash.h +0 -0
  96. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/symbol.h +4 -4
  97. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/thread_pthread.h +45 -5
  98. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/thread_win32.h +28 -3
  99. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/timev.h +1 -0
  100. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/transcode_data.h +2 -3
  101. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/transient_heap.h +6 -3
  102. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/variable.h +22 -0
  103. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/version.h +23 -11
  104. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/vm.inc +707 -671
  105. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/vm_call_iseq_optimized.inc +93 -86
  106. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/vm_callinfo.h +456 -0
  107. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/vm_core.h +262 -194
  108. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/vm_debug.h +116 -0
  109. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/vm_exec.h +9 -6
  110. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.0.0-p0}/vm_insnhelper.h +28 -26
  111. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/vm_opts.h +6 -5
  112. data/lib/debase/ruby_core_source/ruby-3.0.0-p0/vm_sync.h +136 -0
  113. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.0.0-p0}/vmtc.inc +0 -4
  114. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/addr2line.h +2 -3
  115. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/builtin.h +83 -0
  116. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/ccan/build_assert/build_assert.h +13 -13
  117. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/ccan/check_type/check_type.h +17 -17
  118. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/ccan/container_of/container_of.h +63 -63
  119. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/ccan/list/list.h +262 -262
  120. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/ccan/str/str.h +4 -4
  121. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/constant.h +10 -9
  122. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/darray.h +198 -0
  123. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/debug_counter.h +137 -48
  124. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/dln.h +3 -23
  125. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/encindex.h +3 -2
  126. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/eval_intern.h +34 -41
  127. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/gc.h +24 -11
  128. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/hrtime.h +9 -9
  129. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/id.h +4 -3
  130. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/id_table.h +3 -1
  131. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/insns.inc +6 -8
  132. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/insns_info.inc +1907 -2543
  133. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/array.h +113 -0
  134. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/bignum.h +246 -0
  135. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/bits.h +565 -0
  136. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/class.h +188 -0
  137. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/compar.h +49 -0
  138. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/compile.h +35 -0
  139. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/compilers.h +107 -0
  140. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/complex.h +29 -0
  141. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/cont.h +24 -0
  142. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/dir.h +16 -0
  143. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/enc.h +19 -0
  144. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/encoding.h +30 -0
  145. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/enum.h +18 -0
  146. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/enumerator.h +21 -0
  147. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/error.h +191 -0
  148. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/eval.h +32 -0
  149. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/file.h +38 -0
  150. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/fixnum.h +184 -0
  151. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/gc.h +175 -0
  152. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/hash.h +243 -0
  153. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/imemo.h +243 -0
  154. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/inits.h +50 -0
  155. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/io.h +38 -0
  156. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/load.h +18 -0
  157. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/loadpath.h +16 -0
  158. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/math.h +23 -0
  159. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/missing.h +18 -0
  160. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/numeric.h +271 -0
  161. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/object.h +83 -0
  162. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/parse.h +23 -0
  163. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/proc.h +32 -0
  164. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/process.h +137 -0
  165. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/random.h +16 -0
  166. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/range.h +40 -0
  167. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/rational.h +72 -0
  168. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/re.h +30 -0
  169. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/sanitizers.h +190 -0
  170. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/serial.h +23 -0
  171. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/signal.h +21 -0
  172. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/static_assert.h +16 -0
  173. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/string.h +141 -0
  174. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/struct.h +153 -0
  175. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/symbol.h +40 -0
  176. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/thread.h +53 -0
  177. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/time.h +34 -0
  178. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/transcode.h +20 -0
  179. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/util.h +27 -0
  180. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/variable.h +83 -0
  181. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/vm.h +132 -0
  182. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal/warnings.h +16 -0
  183. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/internal.h +109 -0
  184. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/iseq.h +44 -35
  185. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/known_errors.inc +0 -0
  186. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/method.h +21 -4
  187. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/mjit.h +231 -0
  188. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/mjit_compile.inc +3322 -2940
  189. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/node.h +39 -23
  190. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/node_name.inc +210 -0
  191. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/opt_sc.inc +0 -2
  192. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/optinsn.inc +7 -7
  193. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/optunifs.inc +1 -1
  194. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/parse.h +9 -5
  195. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/probes_helper.h +9 -7
  196. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/ractor_core.h +346 -0
  197. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/regenc.h +8 -8
  198. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/regint.h +16 -12
  199. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/regparse.h +2 -2
  200. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/revision.h +2 -0
  201. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/ruby_assert.h +14 -0
  202. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/ruby_atomic.h +23 -0
  203. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/siphash.h +0 -0
  204. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/symbol.h +14 -14
  205. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/thread_pthread.h +45 -5
  206. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/thread_win32.h +30 -5
  207. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/timev.h +1 -0
  208. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/transcode_data.h +49 -50
  209. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/transient_heap.h +6 -3
  210. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/variable.h +21 -0
  211. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/version.h +15 -4
  212. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/vm.inc +1033 -887
  213. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/vm_call_iseq_optimized.inc +244 -0
  214. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/vm_callinfo.h +454 -0
  215. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/vm_core.h +508 -362
  216. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/vm_debug.h +119 -0
  217. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/vm_exec.h +22 -18
  218. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview3 → ruby-3.1.0-preview1}/vm_insnhelper.h +42 -32
  219. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/vm_opts.h +8 -5
  220. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/vm_sync.h +137 -0
  221. data/lib/debase/ruby_core_source/{ruby-2.7.0-preview2 → ruby-3.1.0-preview1}/vmtc.inc +6 -8
  222. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/yjit.h +63 -0
  223. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/yjit_asm.h +392 -0
  224. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/yjit_codegen.h +19 -0
  225. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/yjit_core.h +302 -0
  226. data/lib/debase/ruby_core_source/ruby-3.1.0-preview1/yjit_iface.h +38 -0
  227. data/lib/debase/ruby_core_source/version.rb +1 -1
  228. data/lib/debase/ruby_core_source.rb +0 -2
  229. metadata +240 -110
  230. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/internal.h +0 -2682
  231. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/revision.h +0 -2
  232. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ruby_assert.h +0 -15
  233. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ruby_atomic.h +0 -244
  234. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_call_iseq_optimized.inc +0 -237
  235. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_debug.h +0 -34
  236. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/internal.h +0 -2657
  237. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/mjit.h +0 -175
  238. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/node_name.inc +0 -208
  239. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/revision.h +0 -2
  240. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ruby_assert.h +0 -15
  241. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ruby_atomic.h +0 -244
  242. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_debug.h +0 -34
@@ -91,40 +91,12 @@ extern int select_large_fdset(int, fd_set *, fd_set *, fd_set *, struct timeval
91
91
 
92
92
  #include <sys/stat.h>
93
93
 
94
- #ifdef _MSC_VER
95
- #define SAVE_ROOT_JMPBUF_BEFORE_STMT \
96
- __try {
97
- #define SAVE_ROOT_JMPBUF_AFTER_STMT \
98
- } \
99
- __except (GetExceptionCode() == EXCEPTION_STACK_OVERFLOW ? \
100
- (rb_ec_raised_set(GET_EC(), RAISED_STACKOVERFLOW), \
101
- raise(SIGSEGV), \
102
- EXCEPTION_EXECUTE_HANDLER) : \
103
- EXCEPTION_CONTINUE_SEARCH) { \
104
- /* never reaches here */ \
105
- }
106
- #elif defined(__MINGW32__)
107
- LONG WINAPI rb_w32_stack_overflow_handler(struct _EXCEPTION_POINTERS *);
108
- #define SAVE_ROOT_JMPBUF_BEFORE_STMT \
109
- do { \
110
- PVOID _handler = AddVectoredExceptionHandler(1, rb_w32_stack_overflow_handler);
111
-
112
- #define SAVE_ROOT_JMPBUF_AFTER_STMT \
113
- RemoveVectoredExceptionHandler(_handler); \
114
- } while (0);
115
- #else
116
- #define SAVE_ROOT_JMPBUF_BEFORE_STMT
117
- #define SAVE_ROOT_JMPBUF_AFTER_STMT
118
- #endif
119
94
 
120
95
  #define SAVE_ROOT_JMPBUF(th, stmt) do \
121
- if (ruby_setjmp((th)->root_jmpbuf) == 0) { \
122
- SAVE_ROOT_JMPBUF_BEFORE_STMT \
96
+ if (true) { \
123
97
  stmt; \
124
- SAVE_ROOT_JMPBUF_AFTER_STMT \
125
98
  } \
126
- else { \
127
- rb_fiber_start(); \
99
+ else if (th) { /* suppress unused-variable warning */ \
128
100
  } while (0)
129
101
 
130
102
  #define EC_PUSH_TAG(ec) do { \
@@ -132,7 +104,8 @@ LONG WINAPI rb_w32_stack_overflow_handler(struct _EXCEPTION_POINTERS *);
132
104
  struct rb_vm_tag _tag; \
133
105
  _tag.state = TAG_NONE; \
134
106
  _tag.tag = Qundef; \
135
- _tag.prev = _ec->tag;
107
+ _tag.prev = _ec->tag; \
108
+ _tag.lock_rec = rb_ec_vm_lock_rec(_ec); \
136
109
 
137
110
  #define EC_POP_TAG() \
138
111
  _ec->tag = _tag.prev; \
@@ -143,7 +116,7 @@ LONG WINAPI rb_w32_stack_overflow_handler(struct _EXCEPTION_POINTERS *);
143
116
 
144
117
  #define EC_REPUSH_TAG() (void)(_ec->tag = &_tag)
145
118
 
146
- #if defined __GNUC__ && __GNUC__ == 4 && (__GNUC_MINOR__ >= 6 && __GNUC_MINOR__ <= 8) || __clang__
119
+ #if defined __GNUC__ && __GNUC__ == 4 && (__GNUC_MINOR__ >= 6 && __GNUC_MINOR__ <= 8) || defined __clang__
147
120
  /* This macro prevents GCC 4.6--4.8 from emitting maybe-uninitialized warnings.
148
121
  * This macro also prevents Clang from dumping core in EC_EXEC_TAG().
149
122
  * (I confirmed Clang 4.0.1 and 5.0.0.)
@@ -157,12 +130,23 @@ LONG WINAPI rb_w32_stack_overflow_handler(struct _EXCEPTION_POINTERS *);
157
130
  # define VAR_NOCLOBBERED(var) var
158
131
  #endif
159
132
 
133
+ static inline void
134
+ rb_ec_vm_lock_rec_check(const rb_execution_context_t *ec, unsigned int recorded_lock_rec)
135
+ {
136
+ unsigned int current_lock_rec = rb_ec_vm_lock_rec(ec);
137
+ if (current_lock_rec != recorded_lock_rec) {
138
+ rb_ec_vm_lock_rec_release(ec, recorded_lock_rec, current_lock_rec);
139
+ }
140
+ }
141
+
160
142
  /* clear ec->tag->state, and return the value */
161
143
  static inline int
162
144
  rb_ec_tag_state(const rb_execution_context_t *ec)
163
145
  {
164
- enum ruby_tag_type state = ec->tag->state;
165
- ec->tag->state = TAG_NONE;
146
+ struct rb_vm_tag *tag = ec->tag;
147
+ enum ruby_tag_type state = tag->state;
148
+ tag->state = TAG_NONE;
149
+ rb_ec_vm_lock_rec_check(ec, tag->lock_rec);
166
150
  return state;
167
151
  }
168
152
 
@@ -268,7 +252,7 @@ VALUE rb_make_exception(int argc, const VALUE *argv);
268
252
 
269
253
  NORETURN(void rb_method_name_error(VALUE, VALUE));
270
254
 
271
- NORETURN(void rb_fiber_start(void));
255
+ void rb_fiber_start(rb_fiber_t*);
272
256
 
273
257
  NORETURN(void rb_print_undef(VALUE, ID, rb_method_visibility_t));
274
258
  NORETURN(void rb_print_undef_str(VALUE, VALUE));
@@ -281,16 +265,25 @@ rb_cref_t *rb_vm_cref(void);
281
265
  rb_cref_t *rb_vm_cref_replace_with_duplicated_cref(void);
282
266
  VALUE rb_vm_call_cfunc(VALUE recv, VALUE (*func)(VALUE), VALUE arg, VALUE block_handler, VALUE filename);
283
267
  void rb_vm_set_progname(VALUE filename);
284
- void rb_thread_terminate_all(void);
285
268
  VALUE rb_vm_cbase(void);
286
269
 
287
270
  /* vm_backtrace.c */
288
271
  VALUE rb_ec_backtrace_object(const rb_execution_context_t *ec);
289
272
  VALUE rb_ec_backtrace_str_ary(const rb_execution_context_t *ec, long lev, long n);
273
+ VALUE rb_ec_backtrace_location_ary(const rb_execution_context_t *ec, long lev, long n, bool skip_internal);
290
274
 
291
- #ifndef CharNext /* defined as CharNext[AW] on Windows. */
275
+ #ifndef CharNext /* defined as CharNext[AW] on Windows. */
292
276
  # ifdef HAVE_MBLEN
293
- # define CharNext(p) ((p) + mblen((p), RUBY_MBCHAR_MAXSIZE))
277
+ # define CharNext(p) rb_char_next(p)
278
+ static inline char *
279
+ rb_char_next(const char *p)
280
+ {
281
+ if (p) {
282
+ int len = mblen(p, RUBY_MBCHAR_MAXSIZE);
283
+ p += len > 0 ? len : 1;
284
+ }
285
+ return (char *)p;
286
+ }
294
287
  # else
295
288
  # define CharNext(p) ((p) + 1)
296
289
  # endif
@@ -301,9 +294,9 @@ static inline void
301
294
  translit_char(char *p, int from, int to)
302
295
  {
303
296
  while (*p) {
304
- if ((unsigned char)*p == from)
305
- *p = to;
306
- p = CharNext(p);
297
+ if ((unsigned char)*p == from)
298
+ *p = to;
299
+ p = CharNext(p);
307
300
  }
308
301
  }
309
302
  #endif
@@ -1,17 +1,30 @@
1
-
2
1
  #ifndef RUBY_GC_H
3
2
  #define RUBY_GC_H 1
3
+ #include "ruby/ruby.h"
4
4
 
5
5
  #if defined(__x86_64__) && !defined(_ILP32) && defined(__GNUC__)
6
6
  #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movq\t%%rsp, %0" : "=r" (*(p)))
7
7
  #elif defined(__i386) && defined(__GNUC__)
8
8
  #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("movl\t%%esp, %0" : "=r" (*(p)))
9
+ #elif (defined(__powerpc__) || defined(__powerpc64__)) && defined(__GNUC__) && !defined(_AIX)
10
+ #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("mr\t%0, %%r1" : "=r" (*(p)))
11
+ #elif (defined(__powerpc__) || defined(__powerpc64__)) && defined(__GNUC__) && defined(_AIX)
12
+ #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("mr %0,1" : "=r" (*(p)))
13
+ #elif defined(__aarch64__) && defined(__GNUC__)
14
+ #define SET_MACHINE_STACK_END(p) __asm__ __volatile__ ("mov\t%0, sp" : "=r" (*(p)))
9
15
  #else
10
16
  NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p));
11
17
  #define SET_MACHINE_STACK_END(p) rb_gc_set_stack_end(p)
12
18
  #define USE_CONSERVATIVE_STACK_END
13
19
  #endif
14
20
 
21
+ #define RB_GC_SAVE_MACHINE_CONTEXT(th) \
22
+ do { \
23
+ FLUSH_REGISTER_WINDOWS; \
24
+ setjmp((th)->ec->machine.regs); \
25
+ SET_MACHINE_STACK_END(&(th)->ec->machine.stack_end); \
26
+ } while (0)
27
+
15
28
  /* for GC debug */
16
29
 
17
30
  #ifndef RUBY_MARK_FREE_DEBUG
@@ -24,20 +37,20 @@ extern int ruby_gc_debug_indent;
24
37
  static inline void
25
38
  rb_gc_debug_indent(void)
26
39
  {
27
- printf("%*s", ruby_gc_debug_indent, "");
40
+ ruby_debug_printf("%*s", ruby_gc_debug_indent, "");
28
41
  }
29
42
 
30
43
  static inline void
31
44
  rb_gc_debug_body(const char *mode, const char *msg, int st, void *ptr)
32
45
  {
33
46
  if (st == 0) {
34
- ruby_gc_debug_indent--;
47
+ ruby_gc_debug_indent--;
35
48
  }
36
49
  rb_gc_debug_indent();
37
- printf("%s: %s %s (%p)\n", mode, st ? "->" : "<-", msg, ptr);
50
+ ruby_debug_printf("%s: %s %s (%p)\n", mode, st ? "->" : "<-", msg, ptr);
38
51
 
39
52
  if (st) {
40
- ruby_gc_debug_indent++;
53
+ ruby_gc_debug_indent++;
41
54
  }
42
55
 
43
56
  fflush(stdout);
@@ -47,7 +60,7 @@ rb_gc_debug_body(const char *mode, const char *msg, int st, void *ptr)
47
60
  #define RUBY_MARK_LEAVE(msg) rb_gc_debug_body("mark", (msg), 0, ptr)
48
61
  #define RUBY_FREE_ENTER(msg) rb_gc_debug_body("free", (msg), 1, ptr)
49
62
  #define RUBY_FREE_LEAVE(msg) rb_gc_debug_body("free", (msg), 0, ptr)
50
- #define RUBY_GC_INFO rb_gc_debug_indent(); printf
63
+ #define RUBY_GC_INFO rb_gc_debug_indent(), ruby_debug_printf
51
64
 
52
65
  #else
53
66
  #define RUBY_MARK_ENTER(msg)
@@ -57,7 +70,7 @@ rb_gc_debug_body(const char *mode, const char *msg, int st, void *ptr)
57
70
  #define RUBY_GC_INFO if(0)printf
58
71
  #endif
59
72
 
60
- #define RUBY_MARK_NO_PIN_UNLESS_NULL(ptr) do { \
73
+ #define RUBY_MARK_MOVABLE_UNLESS_NULL(ptr) do { \
61
74
  VALUE markobj = (ptr); \
62
75
  if (RTEST(markobj)) {rb_gc_mark_movable(markobj);} \
63
76
  } while (0)
@@ -74,10 +87,10 @@ rb_gc_debug_body(const char *mode, const char *msg, int st, void *ptr)
74
87
  #else
75
88
  RUBY_EXTERN int ruby_stack_grow_direction;
76
89
  int ruby_get_stack_grow_direction(volatile VALUE *addr);
77
- # define stack_growup_p(x) ( \
78
- (ruby_stack_grow_direction ? \
79
- ruby_stack_grow_direction : \
80
- ruby_get_stack_grow_direction(x)) > 0)
90
+ # define stack_growup_p(x) ( \
91
+ (ruby_stack_grow_direction ? \
92
+ ruby_stack_grow_direction : \
93
+ ruby_get_stack_grow_direction(x)) > 0)
81
94
  # define STACK_UPPER(x, a, b) (stack_growup_p(x) ? (a) : (b))
82
95
  #endif
83
96
 
@@ -17,15 +17,15 @@
17
17
  *
18
18
  * Current API:
19
19
  *
20
- * * rb_hrtime_now - current clock value (monotonic if available)
21
- * * rb_hrtime_mul - multiply with overflow check
22
- * * rb_hrtime_add - add with overflow check
23
- * * rb_timeval2hrtime - convert from timeval
24
- * * rb_timespec2hrtime - convert from timespec
25
- * * rb_msec2hrtime - convert from millisecond
26
- * * rb_sec2hrtime - convert from time_t (seconds)
27
- * * rb_hrtime2timeval - convert to timeval
28
- * * rb_hrtime2timespec - convert to timespec
20
+ * * rb_hrtime_now - current clock value (monotonic if available)
21
+ * * rb_hrtime_mul - multiply with overflow check
22
+ * * rb_hrtime_add - add with overflow check
23
+ * * rb_timeval2hrtime - convert from timeval
24
+ * * rb_timespec2hrtime - convert from timespec
25
+ * * rb_msec2hrtime - convert from millisecond
26
+ * * rb_sec2hrtime - convert from time_t (seconds)
27
+ * * rb_hrtime2timeval - convert to timeval
28
+ * * rb_hrtime2timespec - convert to timespec
29
29
  *
30
30
  * Note: no conversion to milliseconds is provided here because different
31
31
  * functions have different limits (e.g. epoll_wait vs w32_wait_events).
@@ -65,7 +65,6 @@ enum ruby_id_types {
65
65
  #define RUBY_TOKEN_ANDOP 148
66
66
  #define RUBY_TOKEN_OROP 149
67
67
  #define RUBY_TOKEN_ANDDOT 150
68
- #define RUBY_TOKEN_METHREF 151
69
68
  #define RUBY_TOKEN(t) RUBY_TOKEN_##t
70
69
 
71
70
  #define RUBY_TOKEN2ID_TYPE(tok, type) ((tok<<RUBY_ID_SCOPE_SHIFT)|type|RUBY_ID_STATIC_SYM)
@@ -109,8 +108,7 @@ enum ruby_method_ids {
109
108
  idANDOP = RUBY_TOKEN(ANDOP),
110
109
  idOROP = RUBY_TOKEN(OROP),
111
110
  idANDDOT = RUBY_TOKEN(ANDDOT),
112
- idMETHREF = RUBY_TOKEN(METHREF),
113
- tPRESERVED_ID_BEGIN = 151,
111
+ tPRESERVED_ID_BEGIN = 150,
114
112
  idNilP,
115
113
  idNULL,
116
114
  idEmptyP,
@@ -128,6 +126,7 @@ enum ruby_method_ids {
128
126
  id_core_hash_merge_ptr,
129
127
  id_core_hash_merge_kwd,
130
128
  id_core_raise,
129
+ id_core_sprintf,
131
130
  id_debug_created_info,
132
131
  tPRESERVED_ID_END,
133
132
  tTOKEN_LOCAL_BEGIN = tPRESERVED_ID_END-1,
@@ -155,6 +154,7 @@ enum ruby_method_ids {
155
154
  tSend,
156
155
  t__send__,
157
156
  t__attached__,
157
+ t__recursive_key__,
158
158
  tInitialize,
159
159
  tInitialize_copy,
160
160
  tInitialize_clone,
@@ -236,6 +236,7 @@ enum ruby_method_ids {
236
236
  DEFINE_LOCALID_FROM_TOKEN(Send),
237
237
  DEFINE_LOCALID_FROM_TOKEN(__send__),
238
238
  DEFINE_LOCALID_FROM_TOKEN(__attached__),
239
+ DEFINE_LOCALID_FROM_TOKEN(__recursive_key__),
239
240
  DEFINE_LOCALID_FROM_TOKEN(Initialize),
240
241
  DEFINE_LOCALID_FROM_TOKEN(Initialize_copy),
241
242
  DEFINE_LOCALID_FROM_TOKEN(Initialize_clone),
@@ -1,5 +1,7 @@
1
1
  #ifndef RUBY_ID_TABLE_H
2
2
  #define RUBY_ID_TABLE_H 1
3
+ #include "ruby/internal/config.h"
4
+ #include <stddef.h>
3
5
  #include "ruby/ruby.h"
4
6
 
5
7
  struct rb_id_table;
@@ -31,4 +33,4 @@ void rb_id_table_foreach(struct rb_id_table *tbl, rb_id_table_foreach_func_t *fu
31
33
  void rb_id_table_foreach_with_replace(struct rb_id_table *tbl, rb_id_table_foreach_func_t *func, rb_id_table_update_callback_func_t *replace, void *data);
32
34
  void rb_id_table_foreach_values(struct rb_id_table *tbl, rb_id_table_foreach_values_func_t *func, void *data);
33
35
 
34
- #endif /* RUBY_ID_TABLE_H */
36
+ #endif /* RUBY_ID_TABLE_H */
@@ -63,7 +63,6 @@ enum ruby_vminsn_type {
63
63
  BIN(putstring),
64
64
  BIN(concatstrings),
65
65
  BIN(tostring),
66
- BIN(freezestring),
67
66
  BIN(toregexp),
68
67
  BIN(intern),
69
68
  BIN(newarray),
@@ -79,7 +78,6 @@ enum ruby_vminsn_type {
79
78
  BIN(dup),
80
79
  BIN(dupn),
81
80
  BIN(swap),
82
- BIN(reverse),
83
81
  BIN(topn),
84
82
  BIN(setn),
85
83
  BIN(adjuststack),
@@ -87,7 +85,6 @@ enum ruby_vminsn_type {
87
85
  BIN(checkmatch),
88
86
  BIN(checkkeyword),
89
87
  BIN(checktype),
90
- BIN(methodref),
91
88
  BIN(defineclass),
92
89
  BIN(definemethod),
93
90
  BIN(definesmethod),
@@ -134,7 +131,9 @@ enum ruby_vminsn_type {
134
131
  BIN(opt_succ),
135
132
  BIN(opt_not),
136
133
  BIN(opt_regexpmatch2),
137
- BIN(opt_call_c_function),
134
+ BIN(invokebuiltin),
135
+ BIN(opt_invokebuiltin_delegate),
136
+ BIN(opt_invokebuiltin_delegate_leave),
138
137
  BIN(getlocal_WC_0),
139
138
  BIN(getlocal_WC_1),
140
139
  BIN(setlocal_WC_0),
@@ -164,7 +163,6 @@ enum ruby_vminsn_type {
164
163
  BIN(trace_putstring),
165
164
  BIN(trace_concatstrings),
166
165
  BIN(trace_tostring),
167
- BIN(trace_freezestring),
168
166
  BIN(trace_toregexp),
169
167
  BIN(trace_intern),
170
168
  BIN(trace_newarray),
@@ -180,7 +178,6 @@ enum ruby_vminsn_type {
180
178
  BIN(trace_dup),
181
179
  BIN(trace_dupn),
182
180
  BIN(trace_swap),
183
- BIN(trace_reverse),
184
181
  BIN(trace_topn),
185
182
  BIN(trace_setn),
186
183
  BIN(trace_adjuststack),
@@ -188,7 +185,6 @@ enum ruby_vminsn_type {
188
185
  BIN(trace_checkmatch),
189
186
  BIN(trace_checkkeyword),
190
187
  BIN(trace_checktype),
191
- BIN(trace_methodref),
192
188
  BIN(trace_defineclass),
193
189
  BIN(trace_definemethod),
194
190
  BIN(trace_definesmethod),
@@ -235,7 +231,9 @@ enum ruby_vminsn_type {
235
231
  BIN(trace_opt_succ),
236
232
  BIN(trace_opt_not),
237
233
  BIN(trace_opt_regexpmatch2),
238
- BIN(trace_opt_call_c_function),
234
+ BIN(trace_invokebuiltin),
235
+ BIN(trace_opt_invokebuiltin_delegate),
236
+ BIN(trace_opt_invokebuiltin_delegate_leave),
239
237
  BIN(trace_getlocal_WC_0),
240
238
  BIN(trace_getlocal_WC_1),
241
239
  BIN(trace_setlocal_WC_0),