debase-ruby_core_source 3.3.0 → 3.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Rakefile +2 -1
  4. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/ast.h +4612 -0
  5. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/defines.h +94 -0
  6. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/diagnostic.h +297 -0
  7. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/encoding.h +248 -0
  8. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/extension.h +18 -0
  9. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/node.h +57 -0
  10. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/options.h +204 -0
  11. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/pack.h +152 -0
  12. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/parser.h +716 -0
  13. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/prettyprint.h +26 -0
  14. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/prism.h +272 -0
  15. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/regexp.h +33 -0
  16. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_buffer.h +146 -0
  17. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_char.h +205 -0
  18. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_constant_pool.h +191 -0
  19. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_list.h +97 -0
  20. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_memchr.h +29 -0
  21. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_newline_list.h +104 -0
  22. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_state_stack.h +42 -0
  23. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_string.h +150 -0
  24. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_string_list.h +44 -0
  25. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_strncasecmp.h +32 -0
  26. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/util/pm_strpbrk.h +43 -0
  27. data/lib/debase/ruby_core_source/ruby-3.3.0-p0/prism/version.h +29 -0
  28. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/addr2line.h +22 -0
  29. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/builtin.h +117 -0
  30. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/ccan/build_assert/build_assert.h +40 -0
  31. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/ccan/check_type/check_type.h +63 -0
  32. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/ccan/container_of/container_of.h +142 -0
  33. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/ccan/list/list.h +791 -0
  34. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/ccan/str/str.h +17 -0
  35. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/constant.h +53 -0
  36. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/darray.h +246 -0
  37. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/debug_counter.h +423 -0
  38. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/dln.h +32 -0
  39. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/encindex.h +70 -0
  40. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/eval_intern.h +343 -0
  41. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/hrtime.h +227 -0
  42. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/id.h +343 -0
  43. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/id_table.h +39 -0
  44. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/insns.inc +251 -0
  45. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/insns_info.inc +9215 -0
  46. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/array.h +151 -0
  47. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/basic_operators.h +63 -0
  48. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/bignum.h +244 -0
  49. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/bits.h +568 -0
  50. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/class.h +277 -0
  51. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/cmdlineopt.h +65 -0
  52. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/compar.h +29 -0
  53. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/compile.h +34 -0
  54. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/compilers.h +107 -0
  55. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/complex.h +29 -0
  56. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/cont.h +35 -0
  57. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/dir.h +16 -0
  58. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/enc.h +19 -0
  59. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/encoding.h +35 -0
  60. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/enum.h +18 -0
  61. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/enumerator.h +21 -0
  62. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/error.h +216 -0
  63. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/eval.h +33 -0
  64. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/file.h +38 -0
  65. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/fixnum.h +184 -0
  66. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/gc.h +364 -0
  67. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/hash.h +191 -0
  68. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/imemo.h +240 -0
  69. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/inits.h +50 -0
  70. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/io.h +137 -0
  71. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/load.h +18 -0
  72. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/loadpath.h +16 -0
  73. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/math.h +23 -0
  74. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/missing.h +18 -0
  75. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/numeric.h +273 -0
  76. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/object.h +62 -0
  77. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/parse.h +108 -0
  78. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/proc.h +30 -0
  79. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/process.h +124 -0
  80. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/ractor.h +6 -0
  81. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/random.h +17 -0
  82. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/range.h +40 -0
  83. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/rational.h +71 -0
  84. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/re.h +28 -0
  85. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/ruby_parser.h +69 -0
  86. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/sanitizers.h +186 -0
  87. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/serial.h +23 -0
  88. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/signal.h +25 -0
  89. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/static_assert.h +16 -0
  90. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/string.h +160 -0
  91. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/struct.h +127 -0
  92. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/symbol.h +45 -0
  93. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/thread.h +78 -0
  94. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/time.h +34 -0
  95. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/transcode.h +23 -0
  96. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/util.h +27 -0
  97. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/variable.h +72 -0
  98. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/vm.h +136 -0
  99. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal/warnings.h +16 -0
  100. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/internal.h +112 -0
  101. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/iseq.h +338 -0
  102. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/known_errors.inc +791 -0
  103. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/method.h +254 -0
  104. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/node.h +128 -0
  105. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/node_name.inc +212 -0
  106. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/optinsn.inc +128 -0
  107. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/optunifs.inc +43 -0
  108. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/parse.h +243 -0
  109. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/parser_bits.h +564 -0
  110. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/parser_node.h +32 -0
  111. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/parser_st.h +162 -0
  112. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/parser_value.h +106 -0
  113. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/ast.h +4612 -0
  114. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/defines.h +94 -0
  115. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/diagnostic.h +297 -0
  116. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/encoding.h +248 -0
  117. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/extension.h +18 -0
  118. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/node.h +57 -0
  119. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/options.h +204 -0
  120. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/pack.h +152 -0
  121. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/parser.h +716 -0
  122. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/prettyprint.h +26 -0
  123. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/prism.h +272 -0
  124. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/regexp.h +33 -0
  125. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_buffer.h +146 -0
  126. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_char.h +205 -0
  127. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_constant_pool.h +191 -0
  128. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_list.h +97 -0
  129. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_memchr.h +29 -0
  130. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_newline_list.h +104 -0
  131. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_state_stack.h +42 -0
  132. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_string.h +150 -0
  133. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_string_list.h +44 -0
  134. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_strncasecmp.h +32 -0
  135. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/util/pm_strpbrk.h +43 -0
  136. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism/version.h +29 -0
  137. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/prism_compile.h +29 -0
  138. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/probes_helper.h +42 -0
  139. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/ractor_core.h +393 -0
  140. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/regenc.h +254 -0
  141. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/regint.h +1006 -0
  142. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/regparse.h +371 -0
  143. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/revision.h +5 -0
  144. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/rjit.h +101 -0
  145. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/rjit_c.h +164 -0
  146. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/ruby_assert.h +14 -0
  147. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/ruby_atomic.h +23 -0
  148. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/rubyparser.h +1405 -0
  149. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/shape.h +233 -0
  150. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/siphash.h +48 -0
  151. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/symbol.h +118 -0
  152. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/thread_none.h +21 -0
  153. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/thread_pthread.h +166 -0
  154. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/thread_win32.h +58 -0
  155. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/timev.h +58 -0
  156. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/transcode_data.h +138 -0
  157. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/variable.h +39 -0
  158. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/version.h +69 -0
  159. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm.inc +5436 -0
  160. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm_call_iseq_optimized.inc +244 -0
  161. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm_callinfo.h +614 -0
  162. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm_core.h +2202 -0
  163. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm_debug.h +122 -0
  164. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm_exec.h +199 -0
  165. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm_insnhelper.h +261 -0
  166. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm_opts.h +67 -0
  167. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vm_sync.h +137 -0
  168. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/vmtc.inc +245 -0
  169. data/lib/debase/ruby_core_source/ruby-3.3.5-p100/yjit.h +72 -0
  170. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/addr2line.h +22 -0
  171. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/builtin.h +119 -0
  172. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ccan/build_assert/build_assert.h +40 -0
  173. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ccan/check_type/check_type.h +63 -0
  174. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ccan/container_of/container_of.h +142 -0
  175. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ccan/list/list.h +791 -0
  176. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ccan/str/str.h +17 -0
  177. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/constant.h +53 -0
  178. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/darray.h +191 -0
  179. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/debug_counter.h +423 -0
  180. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/dln.h +34 -0
  181. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/encindex.h +70 -0
  182. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/eval_intern.h +324 -0
  183. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/hrtime.h +237 -0
  184. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/id.h +343 -0
  185. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/id_table.h +39 -0
  186. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/insns.inc +259 -0
  187. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/insns_info.inc +9530 -0
  188. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/array.h +151 -0
  189. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/basic_operators.h +63 -0
  190. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/bignum.h +244 -0
  191. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/bits.h +568 -0
  192. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/class.h +283 -0
  193. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/cmdlineopt.h +65 -0
  194. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/compar.h +29 -0
  195. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/compile.h +34 -0
  196. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/compilers.h +107 -0
  197. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/complex.h +29 -0
  198. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/cont.h +35 -0
  199. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/dir.h +16 -0
  200. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/enc.h +19 -0
  201. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/encoding.h +36 -0
  202. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/enum.h +18 -0
  203. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/enumerator.h +21 -0
  204. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/error.h +216 -0
  205. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/eval.h +33 -0
  206. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/file.h +38 -0
  207. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/fixnum.h +184 -0
  208. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/gc.h +334 -0
  209. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/hash.h +191 -0
  210. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/imemo.h +260 -0
  211. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/inits.h +47 -0
  212. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/io.h +140 -0
  213. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/load.h +18 -0
  214. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/loadpath.h +16 -0
  215. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/math.h +23 -0
  216. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/missing.h +19 -0
  217. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/numeric.h +274 -0
  218. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/object.h +63 -0
  219. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/parse.h +117 -0
  220. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/proc.h +30 -0
  221. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/process.h +124 -0
  222. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/ractor.h +6 -0
  223. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/random.h +17 -0
  224. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/range.h +40 -0
  225. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/rational.h +71 -0
  226. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/re.h +28 -0
  227. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/ruby_parser.h +102 -0
  228. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/sanitizers.h +297 -0
  229. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/serial.h +23 -0
  230. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/signal.h +24 -0
  231. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/st.h +11 -0
  232. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/static_assert.h +16 -0
  233. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/string.h +182 -0
  234. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/struct.h +127 -0
  235. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/symbol.h +45 -0
  236. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/thread.h +79 -0
  237. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/time.h +34 -0
  238. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/transcode.h +23 -0
  239. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/util.h +27 -0
  240. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/variable.h +72 -0
  241. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/vm.h +137 -0
  242. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal/warnings.h +16 -0
  243. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/internal.h +108 -0
  244. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/iseq.h +340 -0
  245. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/known_errors.inc +1419 -0
  246. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/method.h +255 -0
  247. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/node.h +111 -0
  248. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/node_name.inc +224 -0
  249. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/optinsn.inc +128 -0
  250. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/optunifs.inc +43 -0
  251. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/parse.h +243 -0
  252. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/parser_bits.h +564 -0
  253. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/parser_node.h +32 -0
  254. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/parser_st.h +162 -0
  255. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/parser_value.h +106 -0
  256. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/ast.h +6245 -0
  257. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/defines.h +206 -0
  258. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/diagnostic.h +433 -0
  259. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/encoding.h +283 -0
  260. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/extension.h +19 -0
  261. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/node.h +150 -0
  262. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/options.h +305 -0
  263. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/pack.h +163 -0
  264. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/parser.h +891 -0
  265. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/prettyprint.h +34 -0
  266. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/prism.h +347 -0
  267. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/regexp.h +33 -0
  268. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/static_literals.h +120 -0
  269. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_buffer.h +218 -0
  270. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_char.h +205 -0
  271. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_constant_pool.h +226 -0
  272. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_integer.h +119 -0
  273. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_list.h +97 -0
  274. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_memchr.h +29 -0
  275. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_newline_list.h +102 -0
  276. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_string.h +174 -0
  277. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_string_list.h +44 -0
  278. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_strncasecmp.h +32 -0
  279. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_strpbrk.h +46 -0
  280. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism/version.h +29 -0
  281. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/prism_compile.h +88 -0
  282. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/probes_helper.h +42 -0
  283. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ractor_core.h +393 -0
  284. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/regenc.h +254 -0
  285. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/regint.h +1010 -0
  286. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/regparse.h +371 -0
  287. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/revision.h +5 -0
  288. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/rjit.h +101 -0
  289. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/rjit_c.h +165 -0
  290. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ruby_assert.h +14 -0
  291. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/ruby_atomic.h +23 -0
  292. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/rubyparser.h +1430 -0
  293. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/shape.h +233 -0
  294. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/siphash.h +48 -0
  295. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/symbol.h +118 -0
  296. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/thread_none.h +21 -0
  297. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/thread_pthread.h +166 -0
  298. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/thread_win32.h +58 -0
  299. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/timev.h +58 -0
  300. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/transcode_data.h +138 -0
  301. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/variable.h +39 -0
  302. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/version.h +69 -0
  303. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm.inc +5643 -0
  304. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_call_iseq_optimized.inc +244 -0
  305. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_callinfo.h +605 -0
  306. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_core.h +2236 -0
  307. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_debug.h +124 -0
  308. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_exec.h +199 -0
  309. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_insnhelper.h +272 -0
  310. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_opts.h +67 -0
  311. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vm_sync.h +137 -0
  312. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/vmtc.inc +253 -0
  313. data/lib/debase/ruby_core_source/ruby-3.4.0-preview1/yjit.h +79 -0
  314. data/lib/debase/ruby_core_source/version.rb +1 -1
  315. metadata +316 -6
@@ -0,0 +1,137 @@
1
+ #ifndef RUBY_VM_SYNC_H
2
+ #define RUBY_VM_SYNC_H
3
+
4
+ #include "vm_debug.h"
5
+ #include "debug_counter.h"
6
+
7
+ #if USE_RUBY_DEBUG_LOG
8
+ #define LOCATION_ARGS const char *file, int line
9
+ #define LOCATION_PARAMS file, line
10
+ #define APPEND_LOCATION_ARGS , const char *file, int line
11
+ #define APPEND_LOCATION_PARAMS , file, line
12
+ #else
13
+ #define LOCATION_ARGS void
14
+ #define LOCATION_PARAMS
15
+ #define APPEND_LOCATION_ARGS
16
+ #define APPEND_LOCATION_PARAMS
17
+ #endif
18
+
19
+ bool rb_vm_locked_p(void);
20
+ void rb_vm_lock_body(LOCATION_ARGS);
21
+ void rb_vm_unlock_body(LOCATION_ARGS);
22
+
23
+ struct rb_ractor_struct;
24
+ void rb_vm_lock_enter_body_cr(struct rb_ractor_struct *cr, unsigned int *lev APPEND_LOCATION_ARGS);
25
+ void rb_vm_lock_enter_body_nb(unsigned int *lev APPEND_LOCATION_ARGS);
26
+ void rb_vm_lock_enter_body(unsigned int *lev APPEND_LOCATION_ARGS);
27
+ void rb_vm_lock_leave_body(unsigned int *lev APPEND_LOCATION_ARGS);
28
+ void rb_vm_barrier(void);
29
+
30
+ #if RUBY_DEBUG
31
+ // GET_VM()
32
+ #include "vm_core.h"
33
+ #endif
34
+
35
+ RUBY_EXTERN struct rb_ractor_struct *ruby_single_main_ractor; // ractor.c
36
+
37
+ static inline bool
38
+ rb_multi_ractor_p(void)
39
+ {
40
+ if (LIKELY(ruby_single_main_ractor)) {
41
+ // 0 on boot time.
42
+ RUBY_ASSERT(GET_VM()->ractor.cnt <= 1);
43
+ return false;
44
+ }
45
+ else {
46
+ // multi-ractor mode can run ractor.cnt == 1
47
+ return true;
48
+ }
49
+ }
50
+
51
+ static inline void
52
+ rb_vm_lock(const char *file, int line)
53
+ {
54
+ RB_DEBUG_COUNTER_INC(vm_sync_lock);
55
+
56
+ if (rb_multi_ractor_p()) {
57
+ rb_vm_lock_body(LOCATION_PARAMS);
58
+ }
59
+ }
60
+
61
+ static inline void
62
+ rb_vm_unlock(const char *file, int line)
63
+ {
64
+ if (rb_multi_ractor_p()) {
65
+ rb_vm_unlock_body(LOCATION_PARAMS);
66
+ }
67
+ }
68
+
69
+ static inline void
70
+ rb_vm_lock_enter(unsigned int *lev, const char *file, int line)
71
+ {
72
+ RB_DEBUG_COUNTER_INC(vm_sync_lock_enter);
73
+
74
+ if (rb_multi_ractor_p()) {
75
+ rb_vm_lock_enter_body(lev APPEND_LOCATION_PARAMS);
76
+ }
77
+ }
78
+
79
+ static inline void
80
+ rb_vm_lock_enter_nb(unsigned int *lev, const char *file, int line)
81
+ {
82
+ RB_DEBUG_COUNTER_INC(vm_sync_lock_enter_nb);
83
+
84
+ if (rb_multi_ractor_p()) {
85
+ rb_vm_lock_enter_body_nb(lev APPEND_LOCATION_PARAMS);
86
+ }
87
+ }
88
+
89
+ static inline void
90
+ rb_vm_lock_leave(unsigned int *lev, const char *file, int line)
91
+ {
92
+ if (rb_multi_ractor_p()) {
93
+ rb_vm_lock_leave_body(lev APPEND_LOCATION_PARAMS);
94
+ }
95
+ }
96
+
97
+ static inline void
98
+ rb_vm_lock_enter_cr(struct rb_ractor_struct *cr, unsigned int *levp, const char *file, int line)
99
+ {
100
+ RB_DEBUG_COUNTER_INC(vm_sync_lock_enter_cr);
101
+ rb_vm_lock_enter_body_cr(cr, levp APPEND_LOCATION_PARAMS);
102
+ }
103
+
104
+ static inline void
105
+ rb_vm_lock_leave_cr(struct rb_ractor_struct *cr, unsigned int *levp, const char *file, int line)
106
+ {
107
+ rb_vm_lock_leave_body(levp APPEND_LOCATION_PARAMS);
108
+ }
109
+
110
+ #define RB_VM_LOCKED_P() rb_vm_locked_p()
111
+
112
+ #define RB_VM_LOCK() rb_vm_lock(__FILE__, __LINE__)
113
+ #define RB_VM_UNLOCK() rb_vm_unlock(__FILE__, __LINE__)
114
+
115
+ #define RB_VM_LOCK_ENTER_CR_LEV(cr, levp) rb_vm_lock_enter_cr(cr, levp, __FILE__, __LINE__)
116
+ #define RB_VM_LOCK_LEAVE_CR_LEV(cr, levp) rb_vm_lock_leave_cr(cr, levp, __FILE__, __LINE__)
117
+ #define RB_VM_LOCK_ENTER_LEV(levp) rb_vm_lock_enter(levp, __FILE__, __LINE__)
118
+ #define RB_VM_LOCK_LEAVE_LEV(levp) rb_vm_lock_leave(levp, __FILE__, __LINE__)
119
+
120
+ #define RB_VM_LOCK_ENTER() { unsigned int _lev; RB_VM_LOCK_ENTER_LEV(&_lev);
121
+ #define RB_VM_LOCK_LEAVE() RB_VM_LOCK_LEAVE_LEV(&_lev); }
122
+
123
+ #define RB_VM_LOCK_ENTER_LEV_NB(levp) rb_vm_lock_enter_nb(levp, __FILE__, __LINE__)
124
+ #define RB_VM_LOCK_ENTER_NO_BARRIER() { unsigned int _lev; RB_VM_LOCK_ENTER_LEV_NB(&_lev);
125
+ #define RB_VM_LOCK_LEAVE_NO_BARRIER() RB_VM_LOCK_LEAVE_LEV(&_lev); }
126
+
127
+ #if RUBY_DEBUG > 0
128
+ void RUBY_ASSERT_vm_locking(void);
129
+ void RUBY_ASSERT_vm_unlocking(void);
130
+ #define ASSERT_vm_locking() RUBY_ASSERT_vm_locking()
131
+ #define ASSERT_vm_unlocking() RUBY_ASSERT_vm_unlocking()
132
+ #else
133
+ #define ASSERT_vm_locking()
134
+ #define ASSERT_vm_unlocking()
135
+ #endif
136
+
137
+ #endif // RUBY_VM_SYNC_H
@@ -0,0 +1,253 @@
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
+ This file is for threaded code.
29
+
30
+ ----
31
+ This file is auto generated by insns2vm.rb
32
+ DO NOT TOUCH!
33
+
34
+ If you want to fix something, you must edit "tool/ruby_vm/views/vmtc.inc.erb"
35
+ or tool/insns2vm.rb
36
+ */
37
+
38
+ static const void *const insns_address_table[] = {
39
+ LABEL_PTR(nop),
40
+ LABEL_PTR(getlocal),
41
+ LABEL_PTR(setlocal),
42
+ LABEL_PTR(getblockparam),
43
+ LABEL_PTR(setblockparam),
44
+ LABEL_PTR(getblockparamproxy),
45
+ LABEL_PTR(getspecial),
46
+ LABEL_PTR(setspecial),
47
+ LABEL_PTR(getinstancevariable),
48
+ LABEL_PTR(setinstancevariable),
49
+ LABEL_PTR(getclassvariable),
50
+ LABEL_PTR(setclassvariable),
51
+ LABEL_PTR(opt_getconstant_path),
52
+ LABEL_PTR(getconstant),
53
+ LABEL_PTR(setconstant),
54
+ LABEL_PTR(getglobal),
55
+ LABEL_PTR(setglobal),
56
+ LABEL_PTR(putnil),
57
+ LABEL_PTR(putself),
58
+ LABEL_PTR(putobject),
59
+ LABEL_PTR(putspecialobject),
60
+ LABEL_PTR(putstring),
61
+ LABEL_PTR(putchilledstring),
62
+ LABEL_PTR(concatstrings),
63
+ LABEL_PTR(anytostring),
64
+ LABEL_PTR(toregexp),
65
+ LABEL_PTR(intern),
66
+ LABEL_PTR(newarray),
67
+ LABEL_PTR(newarraykwsplat),
68
+ LABEL_PTR(pushtoarraykwsplat),
69
+ LABEL_PTR(duparray),
70
+ LABEL_PTR(duphash),
71
+ LABEL_PTR(expandarray),
72
+ LABEL_PTR(concatarray),
73
+ LABEL_PTR(concattoarray),
74
+ LABEL_PTR(pushtoarray),
75
+ LABEL_PTR(splatarray),
76
+ LABEL_PTR(splatkw),
77
+ LABEL_PTR(newhash),
78
+ LABEL_PTR(newrange),
79
+ LABEL_PTR(pop),
80
+ LABEL_PTR(dup),
81
+ LABEL_PTR(dupn),
82
+ LABEL_PTR(swap),
83
+ LABEL_PTR(opt_reverse),
84
+ LABEL_PTR(topn),
85
+ LABEL_PTR(setn),
86
+ LABEL_PTR(adjuststack),
87
+ LABEL_PTR(defined),
88
+ LABEL_PTR(definedivar),
89
+ LABEL_PTR(checkmatch),
90
+ LABEL_PTR(checkkeyword),
91
+ LABEL_PTR(checktype),
92
+ LABEL_PTR(defineclass),
93
+ LABEL_PTR(definemethod),
94
+ LABEL_PTR(definesmethod),
95
+ LABEL_PTR(send),
96
+ LABEL_PTR(opt_send_without_block),
97
+ LABEL_PTR(objtostring),
98
+ LABEL_PTR(opt_str_freeze),
99
+ LABEL_PTR(opt_nil_p),
100
+ LABEL_PTR(opt_str_uminus),
101
+ LABEL_PTR(opt_newarray_send),
102
+ LABEL_PTR(invokesuper),
103
+ LABEL_PTR(invokeblock),
104
+ LABEL_PTR(leave),
105
+ LABEL_PTR(throw),
106
+ LABEL_PTR(jump),
107
+ LABEL_PTR(branchif),
108
+ LABEL_PTR(branchunless),
109
+ LABEL_PTR(branchnil),
110
+ LABEL_PTR(once),
111
+ LABEL_PTR(opt_case_dispatch),
112
+ LABEL_PTR(opt_plus),
113
+ LABEL_PTR(opt_minus),
114
+ LABEL_PTR(opt_mult),
115
+ LABEL_PTR(opt_div),
116
+ LABEL_PTR(opt_mod),
117
+ LABEL_PTR(opt_eq),
118
+ LABEL_PTR(opt_neq),
119
+ LABEL_PTR(opt_lt),
120
+ LABEL_PTR(opt_le),
121
+ LABEL_PTR(opt_gt),
122
+ LABEL_PTR(opt_ge),
123
+ LABEL_PTR(opt_ltlt),
124
+ LABEL_PTR(opt_and),
125
+ LABEL_PTR(opt_or),
126
+ LABEL_PTR(opt_aref),
127
+ LABEL_PTR(opt_aset),
128
+ LABEL_PTR(opt_aset_with),
129
+ LABEL_PTR(opt_aref_with),
130
+ LABEL_PTR(opt_length),
131
+ LABEL_PTR(opt_size),
132
+ LABEL_PTR(opt_empty_p),
133
+ LABEL_PTR(opt_succ),
134
+ LABEL_PTR(opt_not),
135
+ LABEL_PTR(opt_regexpmatch2),
136
+ LABEL_PTR(invokebuiltin),
137
+ LABEL_PTR(opt_invokebuiltin_delegate),
138
+ LABEL_PTR(opt_invokebuiltin_delegate_leave),
139
+ LABEL_PTR(getlocal_WC_0),
140
+ LABEL_PTR(getlocal_WC_1),
141
+ LABEL_PTR(setlocal_WC_0),
142
+ LABEL_PTR(setlocal_WC_1),
143
+ LABEL_PTR(putobject_INT2FIX_0_),
144
+ LABEL_PTR(putobject_INT2FIX_1_),
145
+ LABEL_PTR(trace_nop),
146
+ LABEL_PTR(trace_getlocal),
147
+ LABEL_PTR(trace_setlocal),
148
+ LABEL_PTR(trace_getblockparam),
149
+ LABEL_PTR(trace_setblockparam),
150
+ LABEL_PTR(trace_getblockparamproxy),
151
+ LABEL_PTR(trace_getspecial),
152
+ LABEL_PTR(trace_setspecial),
153
+ LABEL_PTR(trace_getinstancevariable),
154
+ LABEL_PTR(trace_setinstancevariable),
155
+ LABEL_PTR(trace_getclassvariable),
156
+ LABEL_PTR(trace_setclassvariable),
157
+ LABEL_PTR(trace_opt_getconstant_path),
158
+ LABEL_PTR(trace_getconstant),
159
+ LABEL_PTR(trace_setconstant),
160
+ LABEL_PTR(trace_getglobal),
161
+ LABEL_PTR(trace_setglobal),
162
+ LABEL_PTR(trace_putnil),
163
+ LABEL_PTR(trace_putself),
164
+ LABEL_PTR(trace_putobject),
165
+ LABEL_PTR(trace_putspecialobject),
166
+ LABEL_PTR(trace_putstring),
167
+ LABEL_PTR(trace_putchilledstring),
168
+ LABEL_PTR(trace_concatstrings),
169
+ LABEL_PTR(trace_anytostring),
170
+ LABEL_PTR(trace_toregexp),
171
+ LABEL_PTR(trace_intern),
172
+ LABEL_PTR(trace_newarray),
173
+ LABEL_PTR(trace_newarraykwsplat),
174
+ LABEL_PTR(trace_pushtoarraykwsplat),
175
+ LABEL_PTR(trace_duparray),
176
+ LABEL_PTR(trace_duphash),
177
+ LABEL_PTR(trace_expandarray),
178
+ LABEL_PTR(trace_concatarray),
179
+ LABEL_PTR(trace_concattoarray),
180
+ LABEL_PTR(trace_pushtoarray),
181
+ LABEL_PTR(trace_splatarray),
182
+ LABEL_PTR(trace_splatkw),
183
+ LABEL_PTR(trace_newhash),
184
+ LABEL_PTR(trace_newrange),
185
+ LABEL_PTR(trace_pop),
186
+ LABEL_PTR(trace_dup),
187
+ LABEL_PTR(trace_dupn),
188
+ LABEL_PTR(trace_swap),
189
+ LABEL_PTR(trace_opt_reverse),
190
+ LABEL_PTR(trace_topn),
191
+ LABEL_PTR(trace_setn),
192
+ LABEL_PTR(trace_adjuststack),
193
+ LABEL_PTR(trace_defined),
194
+ LABEL_PTR(trace_definedivar),
195
+ LABEL_PTR(trace_checkmatch),
196
+ LABEL_PTR(trace_checkkeyword),
197
+ LABEL_PTR(trace_checktype),
198
+ LABEL_PTR(trace_defineclass),
199
+ LABEL_PTR(trace_definemethod),
200
+ LABEL_PTR(trace_definesmethod),
201
+ LABEL_PTR(trace_send),
202
+ LABEL_PTR(trace_opt_send_without_block),
203
+ LABEL_PTR(trace_objtostring),
204
+ LABEL_PTR(trace_opt_str_freeze),
205
+ LABEL_PTR(trace_opt_nil_p),
206
+ LABEL_PTR(trace_opt_str_uminus),
207
+ LABEL_PTR(trace_opt_newarray_send),
208
+ LABEL_PTR(trace_invokesuper),
209
+ LABEL_PTR(trace_invokeblock),
210
+ LABEL_PTR(trace_leave),
211
+ LABEL_PTR(trace_throw),
212
+ LABEL_PTR(trace_jump),
213
+ LABEL_PTR(trace_branchif),
214
+ LABEL_PTR(trace_branchunless),
215
+ LABEL_PTR(trace_branchnil),
216
+ LABEL_PTR(trace_once),
217
+ LABEL_PTR(trace_opt_case_dispatch),
218
+ LABEL_PTR(trace_opt_plus),
219
+ LABEL_PTR(trace_opt_minus),
220
+ LABEL_PTR(trace_opt_mult),
221
+ LABEL_PTR(trace_opt_div),
222
+ LABEL_PTR(trace_opt_mod),
223
+ LABEL_PTR(trace_opt_eq),
224
+ LABEL_PTR(trace_opt_neq),
225
+ LABEL_PTR(trace_opt_lt),
226
+ LABEL_PTR(trace_opt_le),
227
+ LABEL_PTR(trace_opt_gt),
228
+ LABEL_PTR(trace_opt_ge),
229
+ LABEL_PTR(trace_opt_ltlt),
230
+ LABEL_PTR(trace_opt_and),
231
+ LABEL_PTR(trace_opt_or),
232
+ LABEL_PTR(trace_opt_aref),
233
+ LABEL_PTR(trace_opt_aset),
234
+ LABEL_PTR(trace_opt_aset_with),
235
+ LABEL_PTR(trace_opt_aref_with),
236
+ LABEL_PTR(trace_opt_length),
237
+ LABEL_PTR(trace_opt_size),
238
+ LABEL_PTR(trace_opt_empty_p),
239
+ LABEL_PTR(trace_opt_succ),
240
+ LABEL_PTR(trace_opt_not),
241
+ LABEL_PTR(trace_opt_regexpmatch2),
242
+ LABEL_PTR(trace_invokebuiltin),
243
+ LABEL_PTR(trace_opt_invokebuiltin_delegate),
244
+ LABEL_PTR(trace_opt_invokebuiltin_delegate_leave),
245
+ LABEL_PTR(trace_getlocal_WC_0),
246
+ LABEL_PTR(trace_getlocal_WC_1),
247
+ LABEL_PTR(trace_setlocal_WC_0),
248
+ LABEL_PTR(trace_setlocal_WC_1),
249
+ LABEL_PTR(trace_putobject_INT2FIX_0_),
250
+ LABEL_PTR(trace_putobject_INT2FIX_1_),
251
+ };
252
+
253
+ ASSERT_VM_INSTRUCTION_SIZE(insns_address_table);
@@ -0,0 +1,79 @@
1
+ #ifndef YJIT_H
2
+ #define YJIT_H 1
3
+ //
4
+ // This file contains definitions YJIT exposes to the CRuby codebase
5
+ //
6
+
7
+ #include "ruby/internal/config.h"
8
+ #include "ruby_assert.h" // for RUBY_DEBUG
9
+ #include "vm_core.h"
10
+ #include "method.h"
11
+
12
+ // YJIT_STATS controls whether to support runtime counters in generated code
13
+ // and in the interpreter.
14
+ #ifndef YJIT_STATS
15
+ # define YJIT_STATS RUBY_DEBUG
16
+ #endif
17
+
18
+ #if USE_YJIT
19
+
20
+ // We generate x86 or arm64 assembly
21
+ #if defined(_WIN32) ? defined(_M_AMD64) : (defined(__x86_64__) || defined(__aarch64__))
22
+ // x86_64 platforms without mingw/msys or x64-mswin
23
+ #else
24
+ # error YJIT unsupported platform
25
+ #endif
26
+
27
+ // Expose these as declarations since we are building YJIT.
28
+ extern uint64_t rb_yjit_call_threshold;
29
+ extern uint64_t rb_yjit_cold_threshold;
30
+ extern uint64_t rb_yjit_live_iseq_count;
31
+ extern uint64_t rb_yjit_iseq_alloc_count;
32
+ extern bool rb_yjit_enabled_p;
33
+ void rb_yjit_incr_counter(const char *counter_name);
34
+ void rb_yjit_invalidate_all_method_lookup_assumptions(void);
35
+ void rb_yjit_cme_invalidate(rb_callable_method_entry_t *cme);
36
+ void rb_yjit_collect_binding_alloc(void);
37
+ void rb_yjit_collect_binding_set(void);
38
+ void rb_yjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception);
39
+ void rb_yjit_init(bool yjit_enabled);
40
+ void rb_yjit_bop_redefined(int redefined_flag, enum ruby_basic_operators bop);
41
+ void rb_yjit_constant_state_changed(ID id);
42
+ void rb_yjit_iseq_mark(void *payload);
43
+ void rb_yjit_iseq_update_references(const rb_iseq_t *iseq);
44
+ void rb_yjit_iseq_free(const rb_iseq_t *iseq);
45
+ void rb_yjit_before_ractor_spawn(void);
46
+ void rb_yjit_constant_ic_update(const rb_iseq_t *const iseq, IC ic, unsigned insn_idx);
47
+ void rb_yjit_tracing_invalidate_all(void);
48
+ void rb_yjit_show_usage(int help, int highlight, unsigned int width, int columns);
49
+ void rb_yjit_lazy_push_frame(const VALUE *pc);
50
+ void rb_yjit_invalidate_no_singleton_class(VALUE klass);
51
+ void rb_yjit_invalidate_ep_is_bp(const rb_iseq_t *iseq);
52
+
53
+ #else
54
+ // !USE_YJIT
55
+ // In these builds, YJIT could never be turned on. Provide dummy implementations.
56
+
57
+ #define rb_yjit_enabled_p false
58
+ static inline void rb_yjit_incr_counter(const char *counter_name) {}
59
+ static inline void rb_yjit_invalidate_all_method_lookup_assumptions(void) {}
60
+ static inline void rb_yjit_cme_invalidate(rb_callable_method_entry_t *cme) {}
61
+ static inline void rb_yjit_collect_binding_alloc(void) {}
62
+ static inline void rb_yjit_collect_binding_set(void) {}
63
+ static inline void rb_yjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception) {}
64
+ static inline void rb_yjit_init(bool yjit_enabled) {}
65
+ static inline void rb_yjit_bop_redefined(int redefined_flag, enum ruby_basic_operators bop) {}
66
+ static inline void rb_yjit_constant_state_changed(ID id) {}
67
+ static inline void rb_yjit_iseq_mark(void *payload) {}
68
+ static inline void rb_yjit_iseq_update_references(const rb_iseq_t *iseq) {}
69
+ static inline void rb_yjit_iseq_free(const rb_iseq_t *iseq) {}
70
+ static inline void rb_yjit_before_ractor_spawn(void) {}
71
+ static inline void rb_yjit_constant_ic_update(const rb_iseq_t *const iseq, IC ic, unsigned insn_idx) {}
72
+ static inline void rb_yjit_tracing_invalidate_all(void) {}
73
+ static inline void rb_yjit_lazy_push_frame(const VALUE *pc) {}
74
+ static inline void rb_yjit_invalidate_no_singleton_class(VALUE klass) {}
75
+ static inline void rb_yjit_invalidate_ep_is_bp(const rb_iseq_t *iseq) {}
76
+
77
+ #endif // #if USE_YJIT
78
+
79
+ #endif // #ifndef YJIT_H
@@ -1,5 +1,5 @@
1
1
  module Debase
2
2
  module RubyCoreSource
3
- VERSION = '3.3.0'
3
+ VERSION = '3.3.5'
4
4
  end
5
5
  end