datadog-ruby_core_source 3.3.6 → 3.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.datadog.md +7 -1
- data/datadog-ruby_core_source.gemspec +6 -1
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/id.h +7 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/array.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/basic_operators.h +2 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/bits.h +82 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/class.h +1 -1
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/encoding.h +2 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/error.h +2 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/fixnum.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/gc.h +23 -28
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/hash.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/imemo.h +7 -1
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/io.h +4 -1
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/parse.h +14 -2
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/ractor.h +4 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/sanitizers.h +36 -3
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/string.h +34 -18
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/thread.h +29 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/vm.h +3 -3
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/method.h +1 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/ast.h +2146 -453
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/defines.h +44 -7
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/diagnostic.h +24 -6
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/extension.h +2 -2
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/node.h +0 -21
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/options.h +94 -3
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/parser.h +82 -40
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/prism.h +47 -11
- data/lib/datadog/ruby_core_source/ruby-3.4.0-rc1/prism/regexp.h +43 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/static_literals.h +3 -2
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_char.h +1 -2
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_constant_pool.h +0 -8
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_integer.h +22 -15
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_newline_list.h +11 -0
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_string.h +28 -12
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/version.h +3 -3
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism_compile.h +23 -12
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/ractor_core.h +8 -20
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/rubyparser.h +168 -249
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/shape.h +2 -1
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/thread_pthread.h +26 -25
- data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/vm_core.h +62 -48
- data/lib/datadog/ruby_core_source/version.rb +1 -1
- data/lib/datadog/ruby_core_source.rb +14 -1
- metadata +109 -372
- data/.github/workflows/publish.yml +0 -18
- data/.gitignore +0 -7
- data/.idea/vcs.xml +0 -28
- data/CHANGELOG.md +0 -284
- data/CONTRIBUTING.md +0 -2
- data/Gemfile +0 -4
- data/Rakefile +0 -73
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/addr2line.h +0 -21
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/constant.h +0 -50
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/debug_counter.h +0 -109
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/dln.h +0 -51
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/encindex.h +0 -69
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/eval_intern.h +0 -334
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/gc.h +0 -116
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/id_table.h +0 -31
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/insns.inc +0 -217
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/insns_info.inc +0 -1570
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/known_errors.inc +0 -746
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/node_name.inc +0 -198
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/opt_sc.inc +0 -1601
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/optinsn.inc +0 -103
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/optunifs.inc +0 -61
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/parse.h +0 -206
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/probes_helper.h +0 -43
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/regenc.h +0 -254
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/regint.h +0 -938
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/regparse.h +0 -370
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/revision.h +0 -1
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/siphash.h +0 -48
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/symbol.h +0 -108
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/thread_win32.h +0 -36
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/timev.h +0 -42
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/transcode_data.h +0 -139
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/version.h +0 -73
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/vm.inc +0 -3667
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/vm_call_iseq_optimized.inc +0 -213
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/vm_exec.h +0 -192
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/vm_insnhelper.h +0 -255
- data/lib/datadog/ruby_core_source/ruby-2.5.0-p0/vmtc.inc +0 -214
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/addr2line.h +0 -21
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/constant.h +0 -51
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/debug_counter.h +0 -109
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/dln.h +0 -51
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/encindex.h +0 -69
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/eval_intern.h +0 -334
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/gc.h +0 -116
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/id_table.h +0 -31
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/insns.inc +0 -217
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/insns_info.inc +0 -1570
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/known_errors.inc +0 -746
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/node_name.inc +0 -198
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/opt_sc.inc +0 -1601
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/optinsn.inc +0 -103
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/optunifs.inc +0 -61
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/parse.h +0 -206
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/probes_helper.h +0 -43
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/regenc.h +0 -254
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/regint.h +0 -938
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/regparse.h +0 -370
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/revision.h +0 -1
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/siphash.h +0 -48
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/symbol.h +0 -108
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/thread_win32.h +0 -36
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/timev.h +0 -42
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/transcode_data.h +0 -139
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/version.h +0 -73
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/vm.inc +0 -3667
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/vm_call_iseq_optimized.inc +0 -213
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/vm_exec.h +0 -192
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/vm_insnhelper.h +0 -255
- data/lib/datadog/ruby_core_source/ruby-2.5.1-p57/vmtc.inc +0 -214
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/addr2line.h +0 -21
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/constant.h +0 -51
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/debug_counter.h +0 -109
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/dln.h +0 -51
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/encindex.h +0 -69
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/eval_intern.h +0 -334
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/gc.h +0 -116
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/id_table.h +0 -31
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/insns.inc +0 -217
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/insns_info.inc +0 -1570
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/known_errors.inc +0 -746
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/node_name.inc +0 -198
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/opt_sc.inc +0 -1601
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/optinsn.inc +0 -103
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/optunifs.inc +0 -61
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/parse.h +0 -200
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/probes_helper.h +0 -43
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/regenc.h +0 -254
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/regint.h +0 -938
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/regparse.h +0 -370
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/revision.h +0 -1
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/siphash.h +0 -48
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/symbol.h +0 -108
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/thread_win32.h +0 -36
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/timev.h +0 -42
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/transcode_data.h +0 -139
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/version.h +0 -73
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/vm.inc +0 -3667
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/vm_call_iseq_optimized.inc +0 -213
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/vm_exec.h +0 -192
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/vm_insnhelper.h +0 -255
- data/lib/datadog/ruby_core_source/ruby-2.5.4-p155/vmtc.inc +0 -214
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/addr2line.h +0 -22
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/builtin.h +0 -117
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/constant.h +0 -53
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/darray.h +0 -246
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/debug_counter.h +0 -423
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/dln.h +0 -32
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/encindex.h +0 -70
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/eval_intern.h +0 -343
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/hrtime.h +0 -227
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/insns.inc +0 -251
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/insns_info.inc +0 -9215
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/known_errors.inc +0 -791
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/node_name.inc +0 -212
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/optinsn.inc +0 -128
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/optunifs.inc +0 -43
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/parse.h +0 -243
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/parser_bits.h +0 -564
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/parser_node.h +0 -32
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/probes_helper.h +0 -42
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/regenc.h +0 -254
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/regint.h +0 -1004
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/regparse.h +0 -371
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/revision.h +0 -5
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/rjit.h +0 -101
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/rjit_c.h +0 -164
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/siphash.h +0 -48
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/symbol.h +0 -118
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/thread_win32.h +0 -58
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/timev.h +0 -58
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/transcode_data.h +0 -138
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/variable.h +0 -39
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/version.h +0 -69
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/vm.inc +0 -5436
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/vm_call_iseq_optimized.inc +0 -244
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/vm_callinfo.h +0 -619
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/vm_exec.h +0 -199
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/vm_insnhelper.h +0 -261
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/vm_sync.h +0 -137
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/vmtc.inc +0 -245
- data/lib/datadog/ruby_core_source/ruby-3.3.0-p0/yjit.h +0 -72
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/addr2line.h +0 -22
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/builtin.h +0 -117
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/constant.h +0 -53
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/darray.h +0 -246
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/debug_counter.h +0 -423
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/dln.h +0 -32
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/encindex.h +0 -70
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/eval_intern.h +0 -343
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/hrtime.h +0 -227
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/insns.inc +0 -251
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/insns_info.inc +0 -9215
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/known_errors.inc +0 -791
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/node_name.inc +0 -212
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/optinsn.inc +0 -128
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/optunifs.inc +0 -43
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/parse.h +0 -243
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/parser_bits.h +0 -564
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/parser_node.h +0 -32
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/probes_helper.h +0 -42
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/regenc.h +0 -254
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/regint.h +0 -1006
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/regparse.h +0 -371
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/revision.h +0 -5
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/rjit.h +0 -101
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/rjit_c.h +0 -164
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/siphash.h +0 -48
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/symbol.h +0 -118
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/thread_win32.h +0 -58
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/timev.h +0 -58
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/transcode_data.h +0 -138
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/variable.h +0 -39
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/version.h +0 -69
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/vm.inc +0 -5436
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/vm_call_iseq_optimized.inc +0 -244
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/vm_callinfo.h +0 -614
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/vm_exec.h +0 -199
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/vm_insnhelper.h +0 -261
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/vm_sync.h +0 -137
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/vmtc.inc +0 -245
- data/lib/datadog/ruby_core_source/ruby-3.3.5-p100/yjit.h +0 -72
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/addr2line.h +0 -22
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/builtin.h +0 -119
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/constant.h +0 -53
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/darray.h +0 -191
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/debug_counter.h +0 -423
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/dln.h +0 -34
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/encindex.h +0 -70
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/eval_intern.h +0 -324
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/hrtime.h +0 -237
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/insns.inc +0 -259
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/insns_info.inc +0 -9530
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/known_errors.inc +0 -1419
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/node_name.inc +0 -224
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/optinsn.inc +0 -128
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/optunifs.inc +0 -43
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/parse.h +0 -243
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/parser_bits.h +0 -564
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/parser_node.h +0 -32
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/prism/regexp.h +0 -33
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/prism/util/pm_string_list.h +0 -44
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/probes_helper.h +0 -42
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/regenc.h +0 -254
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/regint.h +0 -1010
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/regparse.h +0 -371
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/revision.h +0 -5
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/rjit.h +0 -101
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/rjit_c.h +0 -165
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/siphash.h +0 -48
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/symbol.h +0 -118
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/thread_win32.h +0 -58
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/timev.h +0 -58
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/transcode_data.h +0 -138
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/variable.h +0 -39
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/version.h +0 -69
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/vm.inc +0 -5643
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/vm_call_iseq_optimized.inc +0 -244
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/vm_callinfo.h +0 -605
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/vm_exec.h +0 -199
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/vm_insnhelper.h +0 -272
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/vm_sync.h +0 -137
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/vmtc.inc +0 -253
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview1/yjit.h +0 -79
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/addr2line.h +0 -22
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/builtin.h +0 -119
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/constant.h +0 -53
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/darray.h +0 -209
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/debug_counter.h +0 -423
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/dln.h +0 -32
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/encindex.h +0 -70
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/eval_intern.h +0 -324
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/hrtime.h +0 -237
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/insns.inc +0 -265
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/insns_info.inc +0 -9902
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/known_errors.inc +0 -1419
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/node_name.inc +0 -224
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/optinsn.inc +0 -128
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/optunifs.inc +0 -43
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/parse.h +0 -244
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/parser_bits.h +0 -564
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/parser_node.h +0 -32
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/probes_helper.h +0 -42
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/regenc.h +0 -254
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/regint.h +0 -1006
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/regparse.h +0 -371
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/revision.h +0 -5
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/rjit.h +0 -101
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/rjit_c.h +0 -165
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/siphash.h +0 -48
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/symbol.h +0 -123
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/thread_win32.h +0 -58
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/timev.h +0 -58
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/transcode_data.h +0 -138
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/variable.h +0 -39
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/version.h +0 -69
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vm.inc +0 -5840
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vm_call_iseq_optimized.inc +0 -244
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vm_callinfo.h +0 -627
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vm_exec.h +0 -199
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vm_insnhelper.h +0 -277
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vm_sync.h +0 -137
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/vmtc.inc +0 -259
- data/lib/datadog/ruby_core_source/ruby-3.4.0-preview2/yjit.h +0 -79
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/ccan/build_assert/build_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/ccan/check_type/check_type.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/ccan/container_of/container_of.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/ccan/list/list.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/ccan/str/str.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/id_table.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/bignum.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/cmdlineopt.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/compar.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/compile.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/compilers.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/complex.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/cont.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/dir.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/enc.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/enum.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/enumerator.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/eval.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/file.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/inits.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/load.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/loadpath.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/math.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/missing.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/numeric.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/object.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/proc.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/process.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/random.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/range.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/rational.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/re.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/ruby_parser.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/serial.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/signal.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/st.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/static_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/struct.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/symbol.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/time.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/transcode.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/util.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/variable.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal/warnings.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/internal.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/iseq.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/node.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/parser_st.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/parser_value.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/encoding.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/pack.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/prettyprint.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_buffer.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_list.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_memchr.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_strncasecmp.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/prism/util/pm_strpbrk.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/ruby_assert.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/ruby_atomic.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/thread_none.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/vm_debug.h +0 -0
- /data/lib/datadog/ruby_core_source/{ruby-3.4.0-preview1 → ruby-3.4.0-rc1}/vm_opts.h +0 -0
@@ -1,245 +0,0 @@
|
|
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(concatstrings),
|
62
|
-
LABEL_PTR(anytostring),
|
63
|
-
LABEL_PTR(toregexp),
|
64
|
-
LABEL_PTR(intern),
|
65
|
-
LABEL_PTR(newarray),
|
66
|
-
LABEL_PTR(newarraykwsplat),
|
67
|
-
LABEL_PTR(duparray),
|
68
|
-
LABEL_PTR(duphash),
|
69
|
-
LABEL_PTR(expandarray),
|
70
|
-
LABEL_PTR(concatarray),
|
71
|
-
LABEL_PTR(splatarray),
|
72
|
-
LABEL_PTR(splatkw),
|
73
|
-
LABEL_PTR(newhash),
|
74
|
-
LABEL_PTR(newrange),
|
75
|
-
LABEL_PTR(pop),
|
76
|
-
LABEL_PTR(dup),
|
77
|
-
LABEL_PTR(dupn),
|
78
|
-
LABEL_PTR(swap),
|
79
|
-
LABEL_PTR(opt_reverse),
|
80
|
-
LABEL_PTR(topn),
|
81
|
-
LABEL_PTR(setn),
|
82
|
-
LABEL_PTR(adjuststack),
|
83
|
-
LABEL_PTR(defined),
|
84
|
-
LABEL_PTR(definedivar),
|
85
|
-
LABEL_PTR(checkmatch),
|
86
|
-
LABEL_PTR(checkkeyword),
|
87
|
-
LABEL_PTR(checktype),
|
88
|
-
LABEL_PTR(defineclass),
|
89
|
-
LABEL_PTR(definemethod),
|
90
|
-
LABEL_PTR(definesmethod),
|
91
|
-
LABEL_PTR(send),
|
92
|
-
LABEL_PTR(opt_send_without_block),
|
93
|
-
LABEL_PTR(objtostring),
|
94
|
-
LABEL_PTR(opt_str_freeze),
|
95
|
-
LABEL_PTR(opt_nil_p),
|
96
|
-
LABEL_PTR(opt_str_uminus),
|
97
|
-
LABEL_PTR(opt_newarray_send),
|
98
|
-
LABEL_PTR(invokesuper),
|
99
|
-
LABEL_PTR(invokeblock),
|
100
|
-
LABEL_PTR(leave),
|
101
|
-
LABEL_PTR(throw),
|
102
|
-
LABEL_PTR(jump),
|
103
|
-
LABEL_PTR(branchif),
|
104
|
-
LABEL_PTR(branchunless),
|
105
|
-
LABEL_PTR(branchnil),
|
106
|
-
LABEL_PTR(once),
|
107
|
-
LABEL_PTR(opt_case_dispatch),
|
108
|
-
LABEL_PTR(opt_plus),
|
109
|
-
LABEL_PTR(opt_minus),
|
110
|
-
LABEL_PTR(opt_mult),
|
111
|
-
LABEL_PTR(opt_div),
|
112
|
-
LABEL_PTR(opt_mod),
|
113
|
-
LABEL_PTR(opt_eq),
|
114
|
-
LABEL_PTR(opt_neq),
|
115
|
-
LABEL_PTR(opt_lt),
|
116
|
-
LABEL_PTR(opt_le),
|
117
|
-
LABEL_PTR(opt_gt),
|
118
|
-
LABEL_PTR(opt_ge),
|
119
|
-
LABEL_PTR(opt_ltlt),
|
120
|
-
LABEL_PTR(opt_and),
|
121
|
-
LABEL_PTR(opt_or),
|
122
|
-
LABEL_PTR(opt_aref),
|
123
|
-
LABEL_PTR(opt_aset),
|
124
|
-
LABEL_PTR(opt_aset_with),
|
125
|
-
LABEL_PTR(opt_aref_with),
|
126
|
-
LABEL_PTR(opt_length),
|
127
|
-
LABEL_PTR(opt_size),
|
128
|
-
LABEL_PTR(opt_empty_p),
|
129
|
-
LABEL_PTR(opt_succ),
|
130
|
-
LABEL_PTR(opt_not),
|
131
|
-
LABEL_PTR(opt_regexpmatch2),
|
132
|
-
LABEL_PTR(invokebuiltin),
|
133
|
-
LABEL_PTR(opt_invokebuiltin_delegate),
|
134
|
-
LABEL_PTR(opt_invokebuiltin_delegate_leave),
|
135
|
-
LABEL_PTR(getlocal_WC_0),
|
136
|
-
LABEL_PTR(getlocal_WC_1),
|
137
|
-
LABEL_PTR(setlocal_WC_0),
|
138
|
-
LABEL_PTR(setlocal_WC_1),
|
139
|
-
LABEL_PTR(putobject_INT2FIX_0_),
|
140
|
-
LABEL_PTR(putobject_INT2FIX_1_),
|
141
|
-
LABEL_PTR(trace_nop),
|
142
|
-
LABEL_PTR(trace_getlocal),
|
143
|
-
LABEL_PTR(trace_setlocal),
|
144
|
-
LABEL_PTR(trace_getblockparam),
|
145
|
-
LABEL_PTR(trace_setblockparam),
|
146
|
-
LABEL_PTR(trace_getblockparamproxy),
|
147
|
-
LABEL_PTR(trace_getspecial),
|
148
|
-
LABEL_PTR(trace_setspecial),
|
149
|
-
LABEL_PTR(trace_getinstancevariable),
|
150
|
-
LABEL_PTR(trace_setinstancevariable),
|
151
|
-
LABEL_PTR(trace_getclassvariable),
|
152
|
-
LABEL_PTR(trace_setclassvariable),
|
153
|
-
LABEL_PTR(trace_opt_getconstant_path),
|
154
|
-
LABEL_PTR(trace_getconstant),
|
155
|
-
LABEL_PTR(trace_setconstant),
|
156
|
-
LABEL_PTR(trace_getglobal),
|
157
|
-
LABEL_PTR(trace_setglobal),
|
158
|
-
LABEL_PTR(trace_putnil),
|
159
|
-
LABEL_PTR(trace_putself),
|
160
|
-
LABEL_PTR(trace_putobject),
|
161
|
-
LABEL_PTR(trace_putspecialobject),
|
162
|
-
LABEL_PTR(trace_putstring),
|
163
|
-
LABEL_PTR(trace_concatstrings),
|
164
|
-
LABEL_PTR(trace_anytostring),
|
165
|
-
LABEL_PTR(trace_toregexp),
|
166
|
-
LABEL_PTR(trace_intern),
|
167
|
-
LABEL_PTR(trace_newarray),
|
168
|
-
LABEL_PTR(trace_newarraykwsplat),
|
169
|
-
LABEL_PTR(trace_duparray),
|
170
|
-
LABEL_PTR(trace_duphash),
|
171
|
-
LABEL_PTR(trace_expandarray),
|
172
|
-
LABEL_PTR(trace_concatarray),
|
173
|
-
LABEL_PTR(trace_splatarray),
|
174
|
-
LABEL_PTR(trace_splatkw),
|
175
|
-
LABEL_PTR(trace_newhash),
|
176
|
-
LABEL_PTR(trace_newrange),
|
177
|
-
LABEL_PTR(trace_pop),
|
178
|
-
LABEL_PTR(trace_dup),
|
179
|
-
LABEL_PTR(trace_dupn),
|
180
|
-
LABEL_PTR(trace_swap),
|
181
|
-
LABEL_PTR(trace_opt_reverse),
|
182
|
-
LABEL_PTR(trace_topn),
|
183
|
-
LABEL_PTR(trace_setn),
|
184
|
-
LABEL_PTR(trace_adjuststack),
|
185
|
-
LABEL_PTR(trace_defined),
|
186
|
-
LABEL_PTR(trace_definedivar),
|
187
|
-
LABEL_PTR(trace_checkmatch),
|
188
|
-
LABEL_PTR(trace_checkkeyword),
|
189
|
-
LABEL_PTR(trace_checktype),
|
190
|
-
LABEL_PTR(trace_defineclass),
|
191
|
-
LABEL_PTR(trace_definemethod),
|
192
|
-
LABEL_PTR(trace_definesmethod),
|
193
|
-
LABEL_PTR(trace_send),
|
194
|
-
LABEL_PTR(trace_opt_send_without_block),
|
195
|
-
LABEL_PTR(trace_objtostring),
|
196
|
-
LABEL_PTR(trace_opt_str_freeze),
|
197
|
-
LABEL_PTR(trace_opt_nil_p),
|
198
|
-
LABEL_PTR(trace_opt_str_uminus),
|
199
|
-
LABEL_PTR(trace_opt_newarray_send),
|
200
|
-
LABEL_PTR(trace_invokesuper),
|
201
|
-
LABEL_PTR(trace_invokeblock),
|
202
|
-
LABEL_PTR(trace_leave),
|
203
|
-
LABEL_PTR(trace_throw),
|
204
|
-
LABEL_PTR(trace_jump),
|
205
|
-
LABEL_PTR(trace_branchif),
|
206
|
-
LABEL_PTR(trace_branchunless),
|
207
|
-
LABEL_PTR(trace_branchnil),
|
208
|
-
LABEL_PTR(trace_once),
|
209
|
-
LABEL_PTR(trace_opt_case_dispatch),
|
210
|
-
LABEL_PTR(trace_opt_plus),
|
211
|
-
LABEL_PTR(trace_opt_minus),
|
212
|
-
LABEL_PTR(trace_opt_mult),
|
213
|
-
LABEL_PTR(trace_opt_div),
|
214
|
-
LABEL_PTR(trace_opt_mod),
|
215
|
-
LABEL_PTR(trace_opt_eq),
|
216
|
-
LABEL_PTR(trace_opt_neq),
|
217
|
-
LABEL_PTR(trace_opt_lt),
|
218
|
-
LABEL_PTR(trace_opt_le),
|
219
|
-
LABEL_PTR(trace_opt_gt),
|
220
|
-
LABEL_PTR(trace_opt_ge),
|
221
|
-
LABEL_PTR(trace_opt_ltlt),
|
222
|
-
LABEL_PTR(trace_opt_and),
|
223
|
-
LABEL_PTR(trace_opt_or),
|
224
|
-
LABEL_PTR(trace_opt_aref),
|
225
|
-
LABEL_PTR(trace_opt_aset),
|
226
|
-
LABEL_PTR(trace_opt_aset_with),
|
227
|
-
LABEL_PTR(trace_opt_aref_with),
|
228
|
-
LABEL_PTR(trace_opt_length),
|
229
|
-
LABEL_PTR(trace_opt_size),
|
230
|
-
LABEL_PTR(trace_opt_empty_p),
|
231
|
-
LABEL_PTR(trace_opt_succ),
|
232
|
-
LABEL_PTR(trace_opt_not),
|
233
|
-
LABEL_PTR(trace_opt_regexpmatch2),
|
234
|
-
LABEL_PTR(trace_invokebuiltin),
|
235
|
-
LABEL_PTR(trace_opt_invokebuiltin_delegate),
|
236
|
-
LABEL_PTR(trace_opt_invokebuiltin_delegate_leave),
|
237
|
-
LABEL_PTR(trace_getlocal_WC_0),
|
238
|
-
LABEL_PTR(trace_getlocal_WC_1),
|
239
|
-
LABEL_PTR(trace_setlocal_WC_0),
|
240
|
-
LABEL_PTR(trace_setlocal_WC_1),
|
241
|
-
LABEL_PTR(trace_putobject_INT2FIX_0_),
|
242
|
-
LABEL_PTR(trace_putobject_INT2FIX_1_),
|
243
|
-
};
|
244
|
-
|
245
|
-
ASSERT_VM_INSTRUCTION_SIZE(insns_address_table);
|
@@ -1,72 +0,0 @@
|
|
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 bool rb_yjit_enabled_p;
|
32
|
-
void rb_yjit_incr_counter(const char *counter_name);
|
33
|
-
void rb_yjit_invalidate_all_method_lookup_assumptions(void);
|
34
|
-
void rb_yjit_cme_invalidate(rb_callable_method_entry_t *cme);
|
35
|
-
void rb_yjit_collect_binding_alloc(void);
|
36
|
-
void rb_yjit_collect_binding_set(void);
|
37
|
-
void rb_yjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception);
|
38
|
-
void rb_yjit_init(bool yjit_enabled);
|
39
|
-
void rb_yjit_bop_redefined(int redefined_flag, enum ruby_basic_operators bop);
|
40
|
-
void rb_yjit_constant_state_changed(ID id);
|
41
|
-
void rb_yjit_iseq_mark(void *payload);
|
42
|
-
void rb_yjit_iseq_update_references(void *payload);
|
43
|
-
void rb_yjit_iseq_free(void *payload);
|
44
|
-
void rb_yjit_before_ractor_spawn(void);
|
45
|
-
void rb_yjit_constant_ic_update(const rb_iseq_t *const iseq, IC ic, unsigned insn_idx);
|
46
|
-
void rb_yjit_tracing_invalidate_all(void);
|
47
|
-
void rb_yjit_show_usage(int help, int highlight, unsigned int width, int columns);
|
48
|
-
|
49
|
-
#else
|
50
|
-
// !USE_YJIT
|
51
|
-
// In these builds, YJIT could never be turned on. Provide dummy implementations.
|
52
|
-
|
53
|
-
#define rb_yjit_enabled_p false
|
54
|
-
static inline void rb_yjit_incr_counter(const char *counter_name) {}
|
55
|
-
static inline void rb_yjit_invalidate_all_method_lookup_assumptions(void) {}
|
56
|
-
static inline void rb_yjit_cme_invalidate(rb_callable_method_entry_t *cme) {}
|
57
|
-
static inline void rb_yjit_collect_binding_alloc(void) {}
|
58
|
-
static inline void rb_yjit_collect_binding_set(void) {}
|
59
|
-
static inline void rb_yjit_compile_iseq(const rb_iseq_t *iseq, rb_execution_context_t *ec, bool jit_exception) {}
|
60
|
-
static inline void rb_yjit_init(bool yjit_enabled) {}
|
61
|
-
static inline void rb_yjit_bop_redefined(int redefined_flag, enum ruby_basic_operators bop) {}
|
62
|
-
static inline void rb_yjit_constant_state_changed(ID id) {}
|
63
|
-
static inline void rb_yjit_iseq_mark(void *payload) {}
|
64
|
-
static inline void rb_yjit_iseq_update_references(void *payload) {}
|
65
|
-
static inline void rb_yjit_iseq_free(void *payload) {}
|
66
|
-
static inline void rb_yjit_before_ractor_spawn(void) {}
|
67
|
-
static inline void rb_yjit_constant_ic_update(const rb_iseq_t *const iseq, IC ic, unsigned insn_idx) {}
|
68
|
-
static inline void rb_yjit_tracing_invalidate_all(void) {}
|
69
|
-
|
70
|
-
#endif // #if USE_YJIT
|
71
|
-
|
72
|
-
#endif // #ifndef YJIT_H
|
@@ -1,22 +0,0 @@
|
|
1
|
-
#ifndef RUBY_ADDR2LINE_H
|
2
|
-
#define RUBY_ADDR2LINE_H
|
3
|
-
/**********************************************************************
|
4
|
-
|
5
|
-
addr2line.h -
|
6
|
-
|
7
|
-
$Author$
|
8
|
-
|
9
|
-
Copyright (C) 2010 Shinichiro Hamaji
|
10
|
-
|
11
|
-
**********************************************************************/
|
12
|
-
|
13
|
-
#if (defined(USE_ELF) || defined(HAVE_MACH_O_LOADER_H))
|
14
|
-
|
15
|
-
#include <stdio.h>
|
16
|
-
|
17
|
-
void
|
18
|
-
rb_dump_backtrace_with_lines(int num_traces, void **traces, FILE *errout);
|
19
|
-
|
20
|
-
#endif /* USE_ELF */
|
21
|
-
|
22
|
-
#endif /* RUBY_ADDR2LINE_H */
|
@@ -1,119 +0,0 @@
|
|
1
|
-
#ifndef BUILTIN_H_INCLUDED
|
2
|
-
#define BUILTIN_H_INCLUDED
|
3
|
-
|
4
|
-
// invoke
|
5
|
-
|
6
|
-
struct rb_builtin_function {
|
7
|
-
// for invocation
|
8
|
-
const void * const func_ptr;
|
9
|
-
const int argc;
|
10
|
-
|
11
|
-
// for load
|
12
|
-
const int index;
|
13
|
-
const char * const name;
|
14
|
-
};
|
15
|
-
|
16
|
-
#define RB_BUILTIN_FUNCTION(_i, _name, _fname, _arity) {\
|
17
|
-
.name = _i < 0 ? NULL : #_name, \
|
18
|
-
.func_ptr = (void *)_fname, \
|
19
|
-
.argc = _arity, \
|
20
|
-
.index = _i, \
|
21
|
-
}
|
22
|
-
|
23
|
-
void rb_load_with_builtin_functions(const char *feature_name, const struct rb_builtin_function *table);
|
24
|
-
|
25
|
-
#ifndef rb_execution_context_t
|
26
|
-
typedef struct rb_execution_context_struct rb_execution_context_t;
|
27
|
-
#define rb_execution_context_t rb_execution_context_t
|
28
|
-
#endif
|
29
|
-
|
30
|
-
/* The following code is generated by the following Ruby script:
|
31
|
-
|
32
|
-
typedef = proc {|i, args|
|
33
|
-
"typedef VALUE (*rb_builtin_arity#{i}_function_type)(rb_execution_context_t *ec, VALUE self#{args});"
|
34
|
-
}
|
35
|
-
puts typedef[0, ""]
|
36
|
-
(1..15).each {|i|
|
37
|
-
puts typedef[i, ",\n " + (0...i).map{"VALUE"}.join(", ")]
|
38
|
-
}
|
39
|
-
16.times{|i|
|
40
|
-
puts "static inline void rb_builtin_function_check_arity#{i}(rb_builtin_arity#{i}_function_type f){}"
|
41
|
-
}
|
42
|
-
*/
|
43
|
-
|
44
|
-
typedef VALUE (*rb_builtin_arity0_function_type)(rb_execution_context_t *ec, VALUE self);
|
45
|
-
typedef VALUE (*rb_builtin_arity1_function_type)(rb_execution_context_t *ec, VALUE self,
|
46
|
-
VALUE);
|
47
|
-
typedef VALUE (*rb_builtin_arity2_function_type)(rb_execution_context_t *ec, VALUE self,
|
48
|
-
VALUE, VALUE);
|
49
|
-
typedef VALUE (*rb_builtin_arity3_function_type)(rb_execution_context_t *ec, VALUE self,
|
50
|
-
VALUE, VALUE, VALUE);
|
51
|
-
typedef VALUE (*rb_builtin_arity4_function_type)(rb_execution_context_t *ec, VALUE self,
|
52
|
-
VALUE, VALUE, VALUE, VALUE);
|
53
|
-
typedef VALUE (*rb_builtin_arity5_function_type)(rb_execution_context_t *ec, VALUE self,
|
54
|
-
VALUE, VALUE, VALUE, VALUE, VALUE);
|
55
|
-
typedef VALUE (*rb_builtin_arity6_function_type)(rb_execution_context_t *ec, VALUE self,
|
56
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
57
|
-
typedef VALUE (*rb_builtin_arity7_function_type)(rb_execution_context_t *ec, VALUE self,
|
58
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
59
|
-
typedef VALUE (*rb_builtin_arity8_function_type)(rb_execution_context_t *ec, VALUE self,
|
60
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
61
|
-
typedef VALUE (*rb_builtin_arity9_function_type)(rb_execution_context_t *ec, VALUE self,
|
62
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
63
|
-
typedef VALUE (*rb_builtin_arity10_function_type)(rb_execution_context_t *ec, VALUE self,
|
64
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
65
|
-
typedef VALUE (*rb_builtin_arity11_function_type)(rb_execution_context_t *ec, VALUE self,
|
66
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
67
|
-
typedef VALUE (*rb_builtin_arity12_function_type)(rb_execution_context_t *ec, VALUE self,
|
68
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
69
|
-
typedef VALUE (*rb_builtin_arity13_function_type)(rb_execution_context_t *ec, VALUE self,
|
70
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
71
|
-
typedef VALUE (*rb_builtin_arity14_function_type)(rb_execution_context_t *ec, VALUE self,
|
72
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
73
|
-
typedef VALUE (*rb_builtin_arity15_function_type)(rb_execution_context_t *ec, VALUE self,
|
74
|
-
VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE, VALUE);
|
75
|
-
static inline void rb_builtin_function_check_arity0(rb_builtin_arity0_function_type f){}
|
76
|
-
static inline void rb_builtin_function_check_arity1(rb_builtin_arity1_function_type f){}
|
77
|
-
static inline void rb_builtin_function_check_arity2(rb_builtin_arity2_function_type f){}
|
78
|
-
static inline void rb_builtin_function_check_arity3(rb_builtin_arity3_function_type f){}
|
79
|
-
static inline void rb_builtin_function_check_arity4(rb_builtin_arity4_function_type f){}
|
80
|
-
static inline void rb_builtin_function_check_arity5(rb_builtin_arity5_function_type f){}
|
81
|
-
static inline void rb_builtin_function_check_arity6(rb_builtin_arity6_function_type f){}
|
82
|
-
static inline void rb_builtin_function_check_arity7(rb_builtin_arity7_function_type f){}
|
83
|
-
static inline void rb_builtin_function_check_arity8(rb_builtin_arity8_function_type f){}
|
84
|
-
static inline void rb_builtin_function_check_arity9(rb_builtin_arity9_function_type f){}
|
85
|
-
static inline void rb_builtin_function_check_arity10(rb_builtin_arity10_function_type f){}
|
86
|
-
static inline void rb_builtin_function_check_arity11(rb_builtin_arity11_function_type f){}
|
87
|
-
static inline void rb_builtin_function_check_arity12(rb_builtin_arity12_function_type f){}
|
88
|
-
static inline void rb_builtin_function_check_arity13(rb_builtin_arity13_function_type f){}
|
89
|
-
static inline void rb_builtin_function_check_arity14(rb_builtin_arity14_function_type f){}
|
90
|
-
static inline void rb_builtin_function_check_arity15(rb_builtin_arity15_function_type f){}
|
91
|
-
|
92
|
-
PUREFUNC(VALUE rb_vm_lvar_exposed(rb_execution_context_t *ec, int index));
|
93
|
-
VALUE rb_vm_lvar_exposed(rb_execution_context_t *ec, int index);
|
94
|
-
|
95
|
-
// __builtin_inline!
|
96
|
-
|
97
|
-
PUREFUNC(static inline VALUE rb_vm_lvar(rb_execution_context_t *ec, int index));
|
98
|
-
|
99
|
-
static inline VALUE
|
100
|
-
rb_vm_lvar(rb_execution_context_t *ec, int index)
|
101
|
-
{
|
102
|
-
#if defined(VM_CORE_H_EC_DEFINED) && VM_CORE_H_EC_DEFINED
|
103
|
-
return ec->cfp->ep[index];
|
104
|
-
#else
|
105
|
-
return rb_vm_lvar_exposed(ec, index);
|
106
|
-
#endif
|
107
|
-
}
|
108
|
-
|
109
|
-
#define LOCAL_PTR(local) local ## __ptr
|
110
|
-
|
111
|
-
// dump/load
|
112
|
-
|
113
|
-
struct builtin_binary {
|
114
|
-
const char *feature; // feature name
|
115
|
-
const unsigned char *bin; // binary by ISeq#to_binary
|
116
|
-
size_t bin_size;
|
117
|
-
};
|
118
|
-
|
119
|
-
#endif // BUILTIN_H_INCLUDED
|
@@ -1,53 +0,0 @@
|
|
1
|
-
#ifndef CONSTANT_H
|
2
|
-
#define CONSTANT_H
|
3
|
-
/**********************************************************************
|
4
|
-
|
5
|
-
constant.h -
|
6
|
-
|
7
|
-
$Author$
|
8
|
-
created at: Sun Nov 15 00:09:33 2009
|
9
|
-
|
10
|
-
Copyright (C) 2009 Yusuke Endoh
|
11
|
-
|
12
|
-
**********************************************************************/
|
13
|
-
#include "ruby/ruby.h"
|
14
|
-
#include "id_table.h"
|
15
|
-
|
16
|
-
typedef enum {
|
17
|
-
CONST_DEPRECATED = 0x100,
|
18
|
-
|
19
|
-
CONST_VISIBILITY_MASK = 0xff,
|
20
|
-
CONST_PUBLIC = 0x00,
|
21
|
-
CONST_PRIVATE,
|
22
|
-
CONST_VISIBILITY_MAX
|
23
|
-
} rb_const_flag_t;
|
24
|
-
|
25
|
-
#define RB_CONST_PRIVATE_P(ce) \
|
26
|
-
(((ce)->flag & CONST_VISIBILITY_MASK) == CONST_PRIVATE)
|
27
|
-
#define RB_CONST_PUBLIC_P(ce) \
|
28
|
-
(((ce)->flag & CONST_VISIBILITY_MASK) == CONST_PUBLIC)
|
29
|
-
|
30
|
-
#define RB_CONST_DEPRECATED_P(ce) \
|
31
|
-
((ce)->flag & CONST_DEPRECATED)
|
32
|
-
|
33
|
-
typedef struct rb_const_entry_struct {
|
34
|
-
rb_const_flag_t flag;
|
35
|
-
int line;
|
36
|
-
VALUE value; /* should be mark */
|
37
|
-
VALUE file; /* should be mark */
|
38
|
-
} rb_const_entry_t;
|
39
|
-
|
40
|
-
VALUE rb_mod_private_constant(int argc, const VALUE *argv, VALUE obj);
|
41
|
-
VALUE rb_mod_public_constant(int argc, const VALUE *argv, VALUE obj);
|
42
|
-
VALUE rb_mod_deprecate_constant(int argc, const VALUE *argv, VALUE obj);
|
43
|
-
void rb_free_const_table(struct rb_id_table *tbl);
|
44
|
-
VALUE rb_const_source_location(VALUE, ID);
|
45
|
-
|
46
|
-
int rb_autoloading_value(VALUE mod, ID id, VALUE *value, rb_const_flag_t *flag);
|
47
|
-
rb_const_entry_t *rb_const_lookup(VALUE klass, ID id);
|
48
|
-
VALUE rb_public_const_get_at(VALUE klass, ID id);
|
49
|
-
VALUE rb_public_const_get_from(VALUE klass, ID id);
|
50
|
-
int rb_public_const_defined_from(VALUE klass, ID id);
|
51
|
-
VALUE rb_const_source_location_at(VALUE, ID);
|
52
|
-
|
53
|
-
#endif /* CONSTANT_H */
|