debase-ruby_core_source 0.10.18 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/addr2line.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/builtin.h +1 -1
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/ccan/build_assert/build_assert.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/ccan/check_type/check_type.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/ccan/container_of/container_of.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/ccan/list/list.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/ccan/str/str.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/constant.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/darray.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/debug_counter.h +1 -35
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/dln.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/encindex.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/eval_intern.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/gc.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/hrtime.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/id.h +4 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/id_table.h +4 -1
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/insns.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/insns_info.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/array.h +0 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-p0/internal/basic_operators.h +64 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/bignum.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/bits.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/class.h +1 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/cmdlineopt.h +0 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-p0/internal/compar.h +29 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/compile.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/compilers.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/complex.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/cont.h +3 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/dir.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/enc.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/encoding.h +3 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/enum.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/enumerator.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/error.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/eval.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/file.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/internal/fixnum.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/gc.h +3 -2
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/hash.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/internal/imemo.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/inits.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/io.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/load.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/loadpath.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/math.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/missing.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/numeric.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/object.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/parse.h +1 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/proc.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/process.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/ractor.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/random.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/range.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/rational.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/re.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/sanitizers.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/serial.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/signal.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/static_assert.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/string.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/struct.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/internal/symbol.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/thread.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/time.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/transcode.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/util.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/variable.h +2 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal/vm.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/internal/warnings.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/internal.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/iseq.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/known_errors.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/method.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/mjit.h +25 -16
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3/mjit_compiler.h → ruby-3.2.0-p0/mjit_c.h} +48 -9
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2/mjit_compile_attr.inc → ruby-3.2.0-p0/mjit_sp_inc.inc} +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/node.h +3 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/node_name.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/opt_sc.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/optinsn.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/optunifs.inc +0 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-p0/parse.h +230 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/probes_helper.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/ractor_core.h +4 -3
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/regenc.h +1 -1
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/regint.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/regparse.h +0 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-p0/revision.h +5 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/ruby_assert.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/ruby_atomic.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/shape.h +69 -31
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/siphash.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/symbol.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/thread_none.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/thread_pthread.h +18 -17
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/thread_win32.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/timev.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/transcode_data.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/transient_heap.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/variable.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/version.h +2 -2
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/vm.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/vm_call_iseq_optimized.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/vm_callinfo.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/vm_core.h +31 -62
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/vm_debug.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/vm_exec.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/vm_insnhelper.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/vm_opts.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview1 → ruby-3.2.0-p0}/vm_sync.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview2 → ruby-3.2.0-p0}/vmtc.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-3.2.0-preview3 → ruby-3.2.0-p0}/yjit.h +1 -3
- data/lib/debase/ruby_core_source/version.rb +1 -1
- metadata +118 -855
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/eval_intern.h +0 -213
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/id.h +0 -133
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/internal.h +0 -378
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/iseq.h +0 -139
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/node.h +0 -539
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/parse.h +0 -292
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/regint.h +0 -914
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/ruby_atomic.h +0 -121
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/vm.inc +0 -3199
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/vm_core.h +0 -1009
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p0/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/eval_intern.h +0 -213
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/id.h +0 -133
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/internal.h +0 -389
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/iseq.h +0 -139
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/node.h +0 -539
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/parse.h +0 -292
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/ruby_atomic.h +0 -121
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/vm_core.h +0 -1009
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p195/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/eval_intern.h +0 -213
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/internal.h +0 -389
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/iseq.h +0 -139
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/node.h +0 -539
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/parse.h +0 -292
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/ruby_atomic.h +0 -121
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/vm_core.h +0 -1013
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p247/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/eval_intern.h +0 -213
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/internal.h +0 -390
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/node.h +0 -539
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/ruby_atomic.h +0 -121
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/vm_core.h +0 -1013
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p353/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/eval_intern.h +0 -213
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/internal.h +0 -392
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/node.h +0 -539
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/vm_core.h +0 -1013
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p451/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/eval_intern.h +0 -213
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/internal.h +0 -392
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/node.h +0 -541
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/vm_core.h +0 -1013
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p481/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/eval_intern.h +0 -241
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/internal.h +0 -395
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/node.h +0 -541
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/vm_core.h +0 -1015
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p576/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/eval_intern.h +0 -241
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/internal.h +0 -395
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/node.h +0 -541
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/vm_core.h +0 -1018
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p594/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/eval_intern.h +0 -241
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/internal.h +0 -395
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/method.h +0 -138
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/node.h +0 -541
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/vm_core.h +0 -1018
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p598/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/eval_intern.h +0 -241
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/internal.h +0 -395
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/method.h +0 -141
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/node.h +0 -541
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/vm_core.h +0 -1020
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p643/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/eval_intern.h +0 -241
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/internal.h +0 -395
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/method.h +0 -141
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/node.h +0 -541
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/vm_core.h +0 -1020
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p645/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/eval_intern.h +0 -241
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/internal.h +0 -395
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/method.h +0 -141
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/node.h +0 -541
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/vm_core.h +0 -1020
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p647/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/addr2line.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/constant.h +0 -36
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/dln.h +0 -50
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/encdb.h +0 -169
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/eval_intern.h +0 -241
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/gc.h +0 -104
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/id.h +0 -135
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/insns.inc +0 -187
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/insns_info.inc +0 -724
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/internal.h +0 -395
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/iseq.h +0 -140
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/known_errors.inc +0 -731
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/method.h +0 -141
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/node.h +0 -541
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/node_name.inc +0 -212
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/opt_sc.inc +0 -702
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/optinsn.inc +0 -83
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/optunifs.inc +0 -120
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/parse.h +0 -181
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/probes_helper.h +0 -67
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/regenc.h +0 -227
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/regint.h +0 -915
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/regparse.h +0 -367
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/ruby_atomic.h +0 -170
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/thread_pthread.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/thread_win32.h +0 -45
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/transcode_data.h +0 -127
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/transdb.h +0 -193
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/vm.inc +0 -3196
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/vm_core.h +0 -1020
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/vm_debug.h +0 -41
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/vm_exec.h +0 -173
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/vm_insnhelper.h +0 -274
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/vm_opts.h +0 -56
- data/lib/debase/ruby_core_source/ruby-2.0.0-p648/vmtc.inc +0 -101
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/builtin.h +0 -84
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/check_type/check_type.h +0 -63
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/container_of/container_of.h +0 -142
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/list/list.h +0 -789
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/darray.h +0 -226
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/debug_counter.h +0 -469
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/encindex.h +0 -70
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/eval_intern.h +0 -339
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/gc.h +0 -143
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/hrtime.h +0 -216
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/insns.inc +0 -249
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/insns_info.inc +0 -9064
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/array.h +0 -113
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/class.h +0 -211
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/cmdlineopt.h +0 -61
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/compar.h +0 -49
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/cont.h +0 -24
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/encoding.h +0 -30
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/fixnum.h +0 -184
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/gc.h +0 -188
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/imemo.h +0 -243
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/numeric.h +0 -271
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/object.h +0 -83
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/parse.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/string.h +0 -141
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/symbol.h +0 -41
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/thread.h +0 -53
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/variable.h +0 -83
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/vm.h +0 -134
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal.h +0 -109
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/iseq.h +0 -325
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/method.h +0 -254
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/mjit.h +0 -231
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/mjit_compile.inc +0 -8333
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/node.h +0 -510
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/node_name.inc +0 -208
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/optinsn.inc +0 -128
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/parse.h +0 -214
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/probes_helper.h +0 -44
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ractor_core.h +0 -346
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/regenc.h +0 -255
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/regint.h +0 -957
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/revision.h +0 -2
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/symbol.h +0 -119
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/thread_none.h +0 -17
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/thread_pthread.h +0 -115
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/thread_win32.h +0 -61
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/transcode_data.h +0 -138
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/variable.h +0 -21
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/version.h +0 -91
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm.inc +0 -5481
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_callinfo.h +0 -502
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_core.h +0 -2089
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_debug.h +0 -113
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_insnhelper.h +0 -262
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vmtc.inc +0 -243
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit.h +0 -73
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit_asm.h +0 -408
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit_codegen.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit_core.h +0 -307
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit_iface.h +0 -38
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/addr2line.h +0 -20
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/builtin.h +0 -121
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/build_assert/build_assert.h +0 -40
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/check_type/check_type.h +0 -63
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/container_of/container_of.h +0 -142
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/list/list.h +0 -789
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/str/str.h +0 -17
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/constant.h +0 -55
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/debug_counter.h +0 -469
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/dln.h +0 -31
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/gc.h +0 -143
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/hrtime.h +0 -226
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/id.h +0 -295
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/id_table.h +0 -36
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/array.h +0 -162
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/bignum.h +0 -246
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/bits.h +0 -565
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/class.h +0 -212
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/cmdlineopt.h +0 -58
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/compar.h +0 -49
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/compile.h +0 -35
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/compilers.h +0 -107
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/complex.h +0 -29
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/cont.h +0 -26
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/dir.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/enc.h +0 -19
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/encoding.h +0 -30
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/enum.h +0 -18
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/enumerator.h +0 -21
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/error.h +0 -191
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/eval.h +0 -32
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/file.h +0 -38
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/gc.h +0 -188
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/hash.h +0 -243
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/inits.h +0 -50
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/io.h +0 -38
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/load.h +0 -18
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/loadpath.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/math.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/missing.h +0 -18
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/numeric.h +0 -271
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/object.h +0 -83
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/parse.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/proc.h +0 -32
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/process.h +0 -137
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/ractor.h +0 -6
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/random.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/range.h +0 -40
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/rational.h +0 -72
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/re.h +0 -30
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/sanitizers.h +0 -190
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/serial.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/signal.h +0 -21
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/static_assert.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/string.h +0 -146
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/struct.h +0 -153
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/thread.h +0 -54
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/time.h +0 -34
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/transcode.h +0 -20
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/util.h +0 -27
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/variable.h +0 -83
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/vm.h +0 -134
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/warnings.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal.h +0 -113
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/iseq.h +0 -328
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/known_errors.inc +0 -791
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/method.h +0 -253
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/mjit_compiler.h +0 -58
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/mjit_unit.h +0 -29
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/node.h +0 -510
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/node_name.inc +0 -208
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/opt_sc.inc +0 -109
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/optunifs.inc +0 -43
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/parse.h +0 -214
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/regenc.h +0 -255
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/regint.h +0 -957
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/regparse.h +0 -370
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/revision.h +0 -2
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ruby_assert.h +0 -14
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ruby_atomic.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/thread_pthread.h +0 -132
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/timev.h +0 -57
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/transient_heap.h +0 -65
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/variable.h +0 -21
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/version.h +0 -68
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm.inc +0 -5476
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_call_iseq_optimized.inc +0 -244
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_callinfo.h +0 -522
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_core.h +0 -2130
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_exec.h +0 -197
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_insnhelper.h +0 -269
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_opts.h +0 -73
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_sync.h +0 -137
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/yjit.h +0 -72
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/addr2line.h +0 -20
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/ccan/build_assert/build_assert.h +0 -40
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/ccan/str/str.h +0 -17
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/constant.h +0 -55
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/darray.h +0 -179
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/dln.h +0 -31
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/encindex.h +0 -70
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/eval_intern.h +0 -339
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/id.h +0 -295
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/id_table.h +0 -36
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/insns.inc +0 -249
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/insns_info.inc +0 -9061
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/bignum.h +0 -246
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/bits.h +0 -565
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/compar.h +0 -49
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/compile.h +0 -35
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/compilers.h +0 -107
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/complex.h +0 -29
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/dir.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/enc.h +0 -19
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/enum.h +0 -18
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/enumerator.h +0 -21
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/error.h +0 -191
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/eval.h +0 -32
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/file.h +0 -38
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/fixnum.h +0 -184
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/hash.h +0 -243
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/imemo.h +0 -242
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/inits.h +0 -50
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/io.h +0 -38
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/load.h +0 -18
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/loadpath.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/math.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/missing.h +0 -18
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/proc.h +0 -32
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/process.h +0 -137
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/ractor.h +0 -6
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/random.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/range.h +0 -40
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/rational.h +0 -72
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/re.h +0 -30
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/sanitizers.h +0 -190
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/serial.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/signal.h +0 -21
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/static_assert.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/struct.h +0 -153
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/symbol.h +0 -42
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/time.h +0 -34
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/transcode.h +0 -20
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/util.h +0 -27
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/internal/warnings.h +0 -16
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/known_errors.inc +0 -791
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/mjit.h +0 -132
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/mjit_compile_attr.inc +0 -430
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/mjit_unit.h +0 -29
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/opt_sc.inc +0 -109
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/optinsn.inc +0 -128
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/optunifs.inc +0 -43
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/parse.h +0 -215
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/probes_helper.h +0 -44
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/ractor_core.h +0 -343
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/regparse.h +0 -370
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/revision.h +0 -5
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/ruby_assert.h +0 -14
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/ruby_atomic.h +0 -23
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/siphash.h +0 -48
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/symbol.h +0 -119
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/thread_none.h +0 -20
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/thread_win32.h +0 -63
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/timev.h +0 -57
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/transcode_data.h +0 -138
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/transient_heap.h +0 -65
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/vm_call_iseq_optimized.inc +0 -244
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/vm_debug.h +0 -122
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/vm_exec.h +0 -197
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/vm_opts.h +0 -73
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/vm_sync.h +0 -137
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview3/vmtc.inc +0 -243
@@ -1,113 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_ARRAY_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_ARRAY_H
|
3
|
-
/**
|
4
|
-
* @author Ruby developers <ruby-core@ruby-lang.org>
|
5
|
-
* @copyright This file is a part of the programming language Ruby.
|
6
|
-
* Permission is hereby granted, to either redistribute and/or
|
7
|
-
* modify this file, provided that the conditions mentioned in the
|
8
|
-
* file COPYING are met. Consult the file for details.
|
9
|
-
* @brief Internal header for Array.
|
10
|
-
*/
|
11
|
-
#include "ruby/internal/config.h"
|
12
|
-
#include <stddef.h> /* for size_t */
|
13
|
-
#include "internal/static_assert.h" /* for STATIC_ASSERT */
|
14
|
-
#include "ruby/internal/stdbool.h" /* for bool */
|
15
|
-
#include "ruby/ruby.h" /* for RARRAY_LEN */
|
16
|
-
|
17
|
-
#ifndef ARRAY_DEBUG
|
18
|
-
# define ARRAY_DEBUG (0+RUBY_DEBUG)
|
19
|
-
#endif
|
20
|
-
|
21
|
-
#define RARRAY_PTR_IN_USE_FLAG FL_USER14
|
22
|
-
|
23
|
-
/* array.c */
|
24
|
-
VALUE rb_ary_last(int, const VALUE *, VALUE);
|
25
|
-
void rb_ary_set_len(VALUE, long);
|
26
|
-
void rb_ary_delete_same(VALUE, VALUE);
|
27
|
-
VALUE rb_ary_tmp_new_fill(long capa);
|
28
|
-
VALUE rb_ary_at(VALUE, VALUE);
|
29
|
-
size_t rb_ary_memsize(VALUE);
|
30
|
-
VALUE rb_to_array_type(VALUE obj);
|
31
|
-
VALUE rb_to_array(VALUE obj);
|
32
|
-
void rb_ary_cancel_sharing(VALUE ary);
|
33
|
-
|
34
|
-
static inline VALUE rb_ary_entry_internal(VALUE ary, long offset);
|
35
|
-
static inline bool ARY_PTR_USING_P(VALUE ary);
|
36
|
-
static inline void RARY_TRANSIENT_SET(VALUE ary);
|
37
|
-
static inline void RARY_TRANSIENT_UNSET(VALUE ary);
|
38
|
-
|
39
|
-
MJIT_SYMBOL_EXPORT_BEGIN
|
40
|
-
VALUE rb_ary_tmp_new_from_values(VALUE, long, const VALUE *);
|
41
|
-
VALUE rb_check_to_array(VALUE ary);
|
42
|
-
VALUE rb_ary_behead(VALUE, long);
|
43
|
-
VALUE rb_ary_aref1(VALUE ary, VALUE i);
|
44
|
-
|
45
|
-
struct rb_execution_context_struct;
|
46
|
-
VALUE rb_ec_ary_new_from_values(struct rb_execution_context_struct *ec, long n, const VALUE *elts);
|
47
|
-
MJIT_SYMBOL_EXPORT_END
|
48
|
-
|
49
|
-
// YJIT needs this function to never allocate and never raise
|
50
|
-
static inline VALUE
|
51
|
-
rb_ary_entry_internal(VALUE ary, long offset)
|
52
|
-
{
|
53
|
-
long len = RARRAY_LEN(ary);
|
54
|
-
const VALUE *ptr = RARRAY_CONST_PTR_TRANSIENT(ary);
|
55
|
-
if (len == 0) return Qnil;
|
56
|
-
if (offset < 0) {
|
57
|
-
offset += len;
|
58
|
-
if (offset < 0) return Qnil;
|
59
|
-
}
|
60
|
-
else if (len <= offset) {
|
61
|
-
return Qnil;
|
62
|
-
}
|
63
|
-
return ptr[offset];
|
64
|
-
}
|
65
|
-
|
66
|
-
static inline bool
|
67
|
-
ARY_PTR_USING_P(VALUE ary)
|
68
|
-
{
|
69
|
-
return FL_TEST_RAW(ary, RARRAY_PTR_IN_USE_FLAG);
|
70
|
-
}
|
71
|
-
|
72
|
-
static inline void
|
73
|
-
RARY_TRANSIENT_SET(VALUE ary)
|
74
|
-
{
|
75
|
-
#if USE_TRANSIENT_HEAP
|
76
|
-
FL_SET_RAW(ary, RARRAY_TRANSIENT_FLAG);
|
77
|
-
#endif
|
78
|
-
}
|
79
|
-
|
80
|
-
static inline void
|
81
|
-
RARY_TRANSIENT_UNSET(VALUE ary)
|
82
|
-
{
|
83
|
-
#if USE_TRANSIENT_HEAP
|
84
|
-
FL_UNSET_RAW(ary, RARRAY_TRANSIENT_FLAG);
|
85
|
-
#endif
|
86
|
-
}
|
87
|
-
|
88
|
-
#undef rb_ary_new_from_args
|
89
|
-
#if RBIMPL_HAS_WARNING("-Wgnu-zero-variadic-macro-arguments")
|
90
|
-
# /* Skip it; clang -pedantic doesn't like the following */
|
91
|
-
#elif defined(__GNUC__) && defined(HAVE_VA_ARGS_MACRO)
|
92
|
-
#define rb_ary_new_from_args(n, ...) \
|
93
|
-
__extension__ ({ \
|
94
|
-
const VALUE args_to_new_ary[] = {__VA_ARGS__}; \
|
95
|
-
if (__builtin_constant_p(n)) { \
|
96
|
-
STATIC_ASSERT(rb_ary_new_from_args, numberof(args_to_new_ary) == (n)); \
|
97
|
-
} \
|
98
|
-
rb_ary_new_from_values(numberof(args_to_new_ary), args_to_new_ary); \
|
99
|
-
})
|
100
|
-
#endif
|
101
|
-
|
102
|
-
#undef RARRAY_AREF
|
103
|
-
RBIMPL_ATTR_PURE_UNLESS_DEBUG()
|
104
|
-
RBIMPL_ATTR_ARTIFICIAL()
|
105
|
-
static inline VALUE
|
106
|
-
RARRAY_AREF(VALUE ary, long i)
|
107
|
-
{
|
108
|
-
RBIMPL_ASSERT_TYPE(ary, RUBY_T_ARRAY);
|
109
|
-
|
110
|
-
return RARRAY_CONST_PTR_TRANSIENT(ary)[i];
|
111
|
-
}
|
112
|
-
|
113
|
-
#endif /* INTERNAL_ARRAY_H */
|
@@ -1,211 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_CLASS_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_CLASS_H
|
3
|
-
/**
|
4
|
-
* @author Ruby developers <ruby-core@ruby-lang.org>
|
5
|
-
* @copyright This file is a part of the programming language Ruby.
|
6
|
-
* Permission is hereby granted, to either redistribute and/or
|
7
|
-
* modify this file, provided that the conditions mentioned in the
|
8
|
-
* file COPYING are met. Consult the file for details.
|
9
|
-
* @brief Internal header for Class.
|
10
|
-
*/
|
11
|
-
#include "id_table.h" /* for struct rb_id_table */
|
12
|
-
#include "internal/gc.h" /* for RB_OBJ_WRITE */
|
13
|
-
#include "internal/serial.h" /* for rb_serial_t */
|
14
|
-
#include "ruby/internal/stdbool.h" /* for bool */
|
15
|
-
#include "ruby/intern.h" /* for rb_alloc_func_t */
|
16
|
-
#include "ruby/ruby.h" /* for struct RBasic */
|
17
|
-
|
18
|
-
#ifdef RCLASS_SUPER
|
19
|
-
# undef RCLASS_SUPER
|
20
|
-
#endif
|
21
|
-
|
22
|
-
struct rb_subclass_entry {
|
23
|
-
VALUE klass;
|
24
|
-
struct rb_subclass_entry *next;
|
25
|
-
struct rb_subclass_entry *prev;
|
26
|
-
};
|
27
|
-
|
28
|
-
struct rb_iv_index_tbl_entry {
|
29
|
-
uint32_t index;
|
30
|
-
rb_serial_t class_serial;
|
31
|
-
VALUE class_value;
|
32
|
-
};
|
33
|
-
|
34
|
-
struct rb_cvar_class_tbl_entry {
|
35
|
-
uint32_t index;
|
36
|
-
rb_serial_t global_cvar_state;
|
37
|
-
VALUE class_value;
|
38
|
-
};
|
39
|
-
|
40
|
-
struct rb_classext_struct {
|
41
|
-
struct st_table *iv_index_tbl; // ID -> struct rb_iv_index_tbl_entry
|
42
|
-
struct st_table *iv_tbl;
|
43
|
-
#if SIZEOF_SERIAL_T == SIZEOF_VALUE /* otherwise m_tbl is in struct RClass */
|
44
|
-
struct rb_id_table *m_tbl;
|
45
|
-
#endif
|
46
|
-
struct rb_id_table *const_tbl;
|
47
|
-
struct rb_id_table *callable_m_tbl;
|
48
|
-
struct rb_id_table *cc_tbl; /* ID -> [[ci, cc1], cc2, ...] */
|
49
|
-
struct rb_id_table *cvc_tbl;
|
50
|
-
size_t superclass_depth;
|
51
|
-
VALUE *superclasses;
|
52
|
-
struct rb_subclass_entry *subclasses;
|
53
|
-
struct rb_subclass_entry *subclass_entry;
|
54
|
-
/**
|
55
|
-
* In the case that this is an `ICLASS`, `module_subclasses` points to the link
|
56
|
-
* in the module's `subclasses` list that indicates that the klass has been
|
57
|
-
* included. Hopefully that makes sense.
|
58
|
-
*/
|
59
|
-
struct rb_subclass_entry *module_subclass_entry;
|
60
|
-
#if SIZEOF_SERIAL_T != SIZEOF_VALUE && !USE_RVARGC /* otherwise class_serial is in struct RClass */
|
61
|
-
rb_serial_t class_serial;
|
62
|
-
#endif
|
63
|
-
const VALUE origin_;
|
64
|
-
const VALUE refined_class;
|
65
|
-
rb_alloc_func_t allocator;
|
66
|
-
const VALUE includer;
|
67
|
-
};
|
68
|
-
|
69
|
-
struct RClass {
|
70
|
-
struct RBasic basic;
|
71
|
-
VALUE super;
|
72
|
-
#if !USE_RVARGC
|
73
|
-
struct rb_classext_struct *ptr;
|
74
|
-
#endif
|
75
|
-
#if SIZEOF_SERIAL_T == SIZEOF_VALUE
|
76
|
-
/* Class serial is as wide as VALUE. Place it here. */
|
77
|
-
rb_serial_t class_serial;
|
78
|
-
#else
|
79
|
-
/* Class serial does not fit into struct RClass. Place m_tbl instead. */
|
80
|
-
struct rb_id_table *m_tbl;
|
81
|
-
# if USE_RVARGC
|
82
|
-
rb_serial_t *class_serial_ptr;
|
83
|
-
# endif
|
84
|
-
#endif
|
85
|
-
};
|
86
|
-
|
87
|
-
typedef struct rb_subclass_entry rb_subclass_entry_t;
|
88
|
-
typedef struct rb_classext_struct rb_classext_t;
|
89
|
-
|
90
|
-
#if USE_RVARGC
|
91
|
-
# define RCLASS_EXT(c) ((rb_classext_t *)((char *)(c) + sizeof(struct RClass)))
|
92
|
-
#else
|
93
|
-
# define RCLASS_EXT(c) (RCLASS(c)->ptr)
|
94
|
-
#endif
|
95
|
-
#define RCLASS_IV_TBL(c) (RCLASS_EXT(c)->iv_tbl)
|
96
|
-
#define RCLASS_CONST_TBL(c) (RCLASS_EXT(c)->const_tbl)
|
97
|
-
#if SIZEOF_SERIAL_T == SIZEOF_VALUE
|
98
|
-
# define RCLASS_M_TBL(c) (RCLASS_EXT(c)->m_tbl)
|
99
|
-
#else
|
100
|
-
# define RCLASS_M_TBL(c) (RCLASS(c)->m_tbl)
|
101
|
-
#endif
|
102
|
-
#define RCLASS_CALLABLE_M_TBL(c) (RCLASS_EXT(c)->callable_m_tbl)
|
103
|
-
#define RCLASS_CC_TBL(c) (RCLASS_EXT(c)->cc_tbl)
|
104
|
-
#define RCLASS_CVC_TBL(c) (RCLASS_EXT(c)->cvc_tbl)
|
105
|
-
#define RCLASS_IV_INDEX_TBL(c) (RCLASS_EXT(c)->iv_index_tbl)
|
106
|
-
#define RCLASS_ORIGIN(c) (RCLASS_EXT(c)->origin_)
|
107
|
-
#define RCLASS_REFINED_CLASS(c) (RCLASS_EXT(c)->refined_class)
|
108
|
-
#if SIZEOF_SERIAL_T == SIZEOF_VALUE
|
109
|
-
# define RCLASS_SERIAL(c) (RCLASS(c)->class_serial)
|
110
|
-
#else
|
111
|
-
# if USE_RVARGC
|
112
|
-
# define RCLASS_SERIAL(c) (*RCLASS(c)->class_serial_ptr)
|
113
|
-
# else
|
114
|
-
# define RCLASS_SERIAL(c) (RCLASS_EXT(c)->class_serial)
|
115
|
-
# endif
|
116
|
-
#endif
|
117
|
-
#define RCLASS_INCLUDER(c) (RCLASS_EXT(c)->includer)
|
118
|
-
#define RCLASS_SUBCLASS_ENTRY(c) (RCLASS_EXT(c)->subclass_entry)
|
119
|
-
#define RCLASS_MODULE_SUBCLASS_ENTRY(c) (RCLASS_EXT(c)->module_subclass_entry)
|
120
|
-
#define RCLASS_ALLOCATOR(c) (RCLASS_EXT(c)->allocator)
|
121
|
-
#define RCLASS_SUBCLASSES(c) (RCLASS_EXT(c)->subclasses)
|
122
|
-
#define RCLASS_SUPERCLASS_DEPTH(c) (RCLASS_EXT(c)->superclass_depth)
|
123
|
-
#define RCLASS_SUPERCLASSES(c) (RCLASS_EXT(c)->superclasses)
|
124
|
-
|
125
|
-
#define RICLASS_IS_ORIGIN FL_USER5
|
126
|
-
#define RCLASS_CLONED FL_USER6
|
127
|
-
#define RCLASS_SUPERCLASSES_INCLUDE_SELF FL_USER7
|
128
|
-
#define RICLASS_ORIGIN_SHARED_MTBL FL_USER8
|
129
|
-
|
130
|
-
/* class.c */
|
131
|
-
void rb_class_subclass_add(VALUE super, VALUE klass);
|
132
|
-
void rb_class_remove_from_super_subclasses(VALUE);
|
133
|
-
void rb_class_update_superclasses(VALUE);
|
134
|
-
size_t rb_class_superclasses_memsize(VALUE);
|
135
|
-
void rb_class_remove_subclass_head(VALUE);
|
136
|
-
int rb_singleton_class_internal_p(VALUE sklass);
|
137
|
-
VALUE rb_class_boot(VALUE);
|
138
|
-
VALUE rb_class_s_alloc(VALUE klass);
|
139
|
-
VALUE rb_module_s_alloc(VALUE klass);
|
140
|
-
void rb_module_set_initialized(VALUE module);
|
141
|
-
void rb_module_check_initializable(VALUE module);
|
142
|
-
VALUE rb_make_metaclass(VALUE, VALUE);
|
143
|
-
VALUE rb_include_class_new(VALUE, VALUE);
|
144
|
-
void rb_class_foreach_subclass(VALUE klass, void (*f)(VALUE, VALUE), VALUE);
|
145
|
-
void rb_class_detach_subclasses(VALUE);
|
146
|
-
void rb_class_detach_module_subclasses(VALUE);
|
147
|
-
void rb_class_remove_from_module_subclasses(VALUE);
|
148
|
-
VALUE rb_obj_methods(int argc, const VALUE *argv, VALUE obj);
|
149
|
-
VALUE rb_obj_protected_methods(int argc, const VALUE *argv, VALUE obj);
|
150
|
-
VALUE rb_obj_private_methods(int argc, const VALUE *argv, VALUE obj);
|
151
|
-
VALUE rb_obj_public_methods(int argc, const VALUE *argv, VALUE obj);
|
152
|
-
VALUE rb_special_singleton_class(VALUE);
|
153
|
-
VALUE rb_singleton_class_clone_and_attach(VALUE obj, VALUE attach);
|
154
|
-
VALUE rb_singleton_class_get(VALUE obj);
|
155
|
-
void rb_undef_methods_from(VALUE klass, VALUE super);
|
156
|
-
|
157
|
-
static inline void RCLASS_SET_ORIGIN(VALUE klass, VALUE origin);
|
158
|
-
static inline void RICLASS_SET_ORIGIN_SHARED_MTBL(VALUE iclass);
|
159
|
-
static inline VALUE RCLASS_SUPER(VALUE klass);
|
160
|
-
static inline VALUE RCLASS_SET_SUPER(VALUE klass, VALUE super);
|
161
|
-
static inline void RCLASS_SET_INCLUDER(VALUE iclass, VALUE klass);
|
162
|
-
|
163
|
-
MJIT_SYMBOL_EXPORT_BEGIN
|
164
|
-
VALUE rb_class_inherited(VALUE, VALUE);
|
165
|
-
VALUE rb_keyword_error_new(const char *, VALUE);
|
166
|
-
MJIT_SYMBOL_EXPORT_END
|
167
|
-
|
168
|
-
static inline void
|
169
|
-
RCLASS_SET_ORIGIN(VALUE klass, VALUE origin)
|
170
|
-
{
|
171
|
-
RB_OBJ_WRITE(klass, &RCLASS_ORIGIN(klass), origin);
|
172
|
-
if (klass != origin) FL_SET(origin, RICLASS_IS_ORIGIN);
|
173
|
-
}
|
174
|
-
|
175
|
-
static inline void
|
176
|
-
RICLASS_SET_ORIGIN_SHARED_MTBL(VALUE iclass)
|
177
|
-
{
|
178
|
-
FL_SET(iclass, RICLASS_ORIGIN_SHARED_MTBL);
|
179
|
-
}
|
180
|
-
|
181
|
-
static inline bool
|
182
|
-
RICLASS_OWNS_M_TBL_P(VALUE iclass)
|
183
|
-
{
|
184
|
-
return FL_TEST_RAW(iclass, RICLASS_IS_ORIGIN | RICLASS_ORIGIN_SHARED_MTBL) == RICLASS_IS_ORIGIN;
|
185
|
-
}
|
186
|
-
|
187
|
-
static inline void
|
188
|
-
RCLASS_SET_INCLUDER(VALUE iclass, VALUE klass)
|
189
|
-
{
|
190
|
-
RB_OBJ_WRITE(iclass, &RCLASS_INCLUDER(iclass), klass);
|
191
|
-
}
|
192
|
-
|
193
|
-
static inline VALUE
|
194
|
-
RCLASS_SUPER(VALUE klass)
|
195
|
-
{
|
196
|
-
return RCLASS(klass)->super;
|
197
|
-
}
|
198
|
-
|
199
|
-
static inline VALUE
|
200
|
-
RCLASS_SET_SUPER(VALUE klass, VALUE super)
|
201
|
-
{
|
202
|
-
if (super) {
|
203
|
-
rb_class_remove_from_super_subclasses(klass);
|
204
|
-
rb_class_subclass_add(super, klass);
|
205
|
-
}
|
206
|
-
RB_OBJ_WRITE(klass, &RCLASS(klass)->super, super);
|
207
|
-
rb_class_update_superclasses(klass);
|
208
|
-
return super;
|
209
|
-
}
|
210
|
-
|
211
|
-
#endif /* INTERNAL_CLASS_H */
|
@@ -1,61 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_CMDLINEOPT_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_CMDLINEOPT_H
|
3
|
-
|
4
|
-
#include "mjit.h"
|
5
|
-
#include "yjit.h"
|
6
|
-
|
7
|
-
typedef struct {
|
8
|
-
unsigned int mask;
|
9
|
-
unsigned int set;
|
10
|
-
} ruby_features_t;
|
11
|
-
|
12
|
-
typedef struct ruby_cmdline_options {
|
13
|
-
const char *script;
|
14
|
-
VALUE script_name;
|
15
|
-
VALUE e_script;
|
16
|
-
struct {
|
17
|
-
struct {
|
18
|
-
VALUE name;
|
19
|
-
int index;
|
20
|
-
} enc;
|
21
|
-
} src, ext, intern;
|
22
|
-
VALUE req_list;
|
23
|
-
ruby_features_t features;
|
24
|
-
ruby_features_t warn;
|
25
|
-
unsigned int dump;
|
26
|
-
#if USE_MJIT
|
27
|
-
struct mjit_options mjit;
|
28
|
-
#endif
|
29
|
-
#if YJIT_SUPPORTED_P
|
30
|
-
struct rb_yjit_options yjit;
|
31
|
-
#endif
|
32
|
-
|
33
|
-
int sflag, xflag;
|
34
|
-
unsigned int warning: 1;
|
35
|
-
unsigned int verbose: 1;
|
36
|
-
unsigned int do_loop: 1;
|
37
|
-
unsigned int do_print: 1;
|
38
|
-
unsigned int do_line: 1;
|
39
|
-
unsigned int do_split: 1;
|
40
|
-
unsigned int do_search: 1;
|
41
|
-
unsigned int setids: 2;
|
42
|
-
} ruby_cmdline_options_t;
|
43
|
-
|
44
|
-
struct ruby_opt_message {
|
45
|
-
const char *str;
|
46
|
-
unsigned short namelen, secondlen;
|
47
|
-
};
|
48
|
-
|
49
|
-
#define RUBY_OPT_MESSAGE(shortopt, longopt, desc) { \
|
50
|
-
shortopt " " longopt " " desc, \
|
51
|
-
(unsigned short)sizeof(shortopt), \
|
52
|
-
(unsigned short)sizeof(longopt), \
|
53
|
-
}
|
54
|
-
|
55
|
-
#define opt_match(s, l, name) \
|
56
|
-
((((l) > rb_strlen_lit(name)) ? (s)[rb_strlen_lit(name)] == '=' : \
|
57
|
-
(l) == rb_strlen_lit(name)) && \
|
58
|
-
memcmp((s), name, rb_strlen_lit(name)) == 0 && \
|
59
|
-
(((s) += rb_strlen_lit(name)), 1))
|
60
|
-
|
61
|
-
#endif
|
@@ -1,49 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_COMPAR_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_COMPAR_H
|
3
|
-
/**
|
4
|
-
* @author Ruby developers <ruby-core@ruby-lang.org>
|
5
|
-
* @copyright This file is a part of the programming language Ruby.
|
6
|
-
* Permission is hereby granted, to either redistribute and/or
|
7
|
-
* modify this file, provided that the conditions mentioned in the
|
8
|
-
* file COPYING are met. Consult the file for details.
|
9
|
-
* @brief Internal header for Comparable.
|
10
|
-
*/
|
11
|
-
#include "internal/vm.h" /* for rb_method_basic_definition_p */
|
12
|
-
|
13
|
-
#define STRING_P(s) (RB_TYPE_P((s), T_STRING) && CLASS_OF(s) == rb_cString)
|
14
|
-
|
15
|
-
enum {
|
16
|
-
cmp_opt_Integer,
|
17
|
-
cmp_opt_String,
|
18
|
-
cmp_opt_Float,
|
19
|
-
cmp_optimizable_count
|
20
|
-
};
|
21
|
-
|
22
|
-
struct cmp_opt_data {
|
23
|
-
unsigned int opt_methods;
|
24
|
-
unsigned int opt_inited;
|
25
|
-
};
|
26
|
-
|
27
|
-
#define NEW_CMP_OPT_MEMO(type, value) \
|
28
|
-
NEW_PARTIAL_MEMO_FOR(type, value, cmp_opt)
|
29
|
-
#define CMP_OPTIMIZABLE_BIT(type) (1U << TOKEN_PASTE(cmp_opt_,type))
|
30
|
-
#define CMP_OPTIMIZABLE(data, type) \
|
31
|
-
(((data).opt_inited & CMP_OPTIMIZABLE_BIT(type)) ? \
|
32
|
-
((data).opt_methods & CMP_OPTIMIZABLE_BIT(type)) : \
|
33
|
-
(((data).opt_inited |= CMP_OPTIMIZABLE_BIT(type)), \
|
34
|
-
rb_method_basic_definition_p(TOKEN_PASTE(rb_c,type), id_cmp) && \
|
35
|
-
((data).opt_methods |= CMP_OPTIMIZABLE_BIT(type))))
|
36
|
-
|
37
|
-
#define OPTIMIZED_CMP(a, b, data) \
|
38
|
-
((FIXNUM_P(a) && FIXNUM_P(b) && CMP_OPTIMIZABLE(data, Integer)) ? \
|
39
|
-
(((long)a > (long)b) ? 1 : ((long)a < (long)b) ? -1 : 0) : \
|
40
|
-
(STRING_P(a) && STRING_P(b) && CMP_OPTIMIZABLE(data, String)) ? \
|
41
|
-
rb_str_cmp(a, b) : \
|
42
|
-
(RB_FLOAT_TYPE_P(a) && RB_FLOAT_TYPE_P(b) && CMP_OPTIMIZABLE(data, Float)) ? \
|
43
|
-
rb_float_cmp(a, b) : \
|
44
|
-
rb_cmpint(rb_funcallv(a, id_cmp, 1, &b), a, b))
|
45
|
-
|
46
|
-
/* compar.c */
|
47
|
-
VALUE rb_invcmp(VALUE, VALUE);
|
48
|
-
|
49
|
-
#endif /* INTERNAL_COMPAR_H */
|
@@ -1,24 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_CONT_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_CONT_H
|
3
|
-
/**
|
4
|
-
* @author Ruby developers <ruby-core@ruby-lang.org>
|
5
|
-
* @copyright This file is a part of the programming language Ruby.
|
6
|
-
* Permission is hereby granted, to either redistribute and/or
|
7
|
-
* modify this file, provided that the conditions mentioned in the
|
8
|
-
* file COPYING are met. Consult the file for details.
|
9
|
-
* @brief Internal header for Fiber.
|
10
|
-
*/
|
11
|
-
#include "ruby/ruby.h" /* for VALUE */
|
12
|
-
|
13
|
-
struct rb_thread_struct; /* in vm_core.h */
|
14
|
-
struct rb_fiber_struct; /* in cont.c */
|
15
|
-
|
16
|
-
/* cont.c */
|
17
|
-
void rb_fiber_reset_root_local_storage(struct rb_thread_struct *);
|
18
|
-
void ruby_register_rollback_func_for_ensure(VALUE (*ensure_func)(VALUE), VALUE (*rollback_func)(VALUE));
|
19
|
-
void rb_fiber_init_mjit_cont(struct rb_fiber_struct *fiber);
|
20
|
-
|
21
|
-
VALUE rb_fiberptr_self(struct rb_fiber_struct *fiber);
|
22
|
-
unsigned int rb_fiberptr_blocking(struct rb_fiber_struct *fiber);
|
23
|
-
|
24
|
-
#endif /* INTERNAL_CONT_H */
|
@@ -1,30 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_ENCODING_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_ENCODING_H
|
3
|
-
/**
|
4
|
-
* @author Ruby developers <ruby-core@ruby-lang.org>
|
5
|
-
* @copyright This file is a part of the programming language Ruby.
|
6
|
-
* Permission is hereby granted, to either redistribute and/or
|
7
|
-
* modify this file, provided that the conditions mentioned in the
|
8
|
-
* file COPYING are met. Consult the file for details.
|
9
|
-
* @brief Internal header for Encoding.
|
10
|
-
*/
|
11
|
-
#include "ruby/ruby.h" /* for ID */
|
12
|
-
#include "ruby/encoding.h" /* for rb_encoding */
|
13
|
-
|
14
|
-
#define rb_enc_autoload_p(enc) (!rb_enc_mbmaxlen(enc))
|
15
|
-
|
16
|
-
/* encoding.c */
|
17
|
-
ID rb_id_encoding(void);
|
18
|
-
rb_encoding *rb_enc_get_from_index(int index);
|
19
|
-
rb_encoding *rb_enc_check_str(VALUE str1, VALUE str2);
|
20
|
-
int rb_encdb_replicate(const char *alias, const char *orig);
|
21
|
-
int rb_encdb_alias(const char *alias, const char *orig);
|
22
|
-
int rb_enc_autoload(rb_encoding *enc);
|
23
|
-
int rb_encdb_dummy(const char *name);
|
24
|
-
void rb_encdb_declare(const char *name);
|
25
|
-
void rb_enc_set_base(const char *name, const char *orig);
|
26
|
-
int rb_enc_set_dummy(int index);
|
27
|
-
void rb_encdb_set_unicode(int index);
|
28
|
-
PUREFUNC(int rb_data_is_encoding(VALUE obj));
|
29
|
-
|
30
|
-
#endif /* INTERNAL_ENCODING_H */
|
@@ -1,184 +0,0 @@
|
|
1
|
-
#ifndef INTERNAL_FIXNUM_H /*-*-C-*-vi:se ft=c:*/
|
2
|
-
#define INTERNAL_FIXNUM_H
|
3
|
-
/**
|
4
|
-
* @author Ruby developers <ruby-core@ruby-lang.org>
|
5
|
-
* @copyright This file is a part of the programming language Ruby.
|
6
|
-
* Permission is hereby granted, to either redistribute and/or
|
7
|
-
* modify this file, provided that the conditions mentioned in the
|
8
|
-
* file COPYING are met. Consult the file for details.
|
9
|
-
* @brief Internal header for Fixnums.
|
10
|
-
*/
|
11
|
-
#include "ruby/internal/config.h" /* for HAVE_LONG_LONG */
|
12
|
-
#include <limits.h> /* for CHAR_BIT */
|
13
|
-
#include "internal/compilers.h" /* for __has_builtin */
|
14
|
-
#include "ruby/internal/stdbool.h" /* for bool */
|
15
|
-
#include "ruby/intern.h" /* for rb_big_mul */
|
16
|
-
#include "ruby/ruby.h" /* for RB_FIXABLE */
|
17
|
-
|
18
|
-
#if HAVE_LONG_LONG && SIZEOF_LONG * 2 <= SIZEOF_LONG_LONG
|
19
|
-
# define DLONG LONG_LONG
|
20
|
-
# define DL2NUM(x) LL2NUM(x)
|
21
|
-
#elif defined(HAVE_INT128_T)
|
22
|
-
# define DLONG int128_t
|
23
|
-
# define DL2NUM(x) (RB_FIXABLE(x) ? LONG2FIX(x) : rb_int128t2big(x))
|
24
|
-
VALUE rb_int128t2big(int128_t n); /* in bignum.c */
|
25
|
-
#endif
|
26
|
-
|
27
|
-
static inline long rb_overflowed_fix_to_int(long x);
|
28
|
-
static inline VALUE rb_fix_plus_fix(VALUE x, VALUE y);
|
29
|
-
static inline VALUE rb_fix_minus_fix(VALUE x, VALUE y);
|
30
|
-
static inline VALUE rb_fix_mul_fix(VALUE x, VALUE y);
|
31
|
-
static inline void rb_fix_divmod_fix(VALUE x, VALUE y, VALUE *divp, VALUE *modp);
|
32
|
-
static inline VALUE rb_fix_div_fix(VALUE x, VALUE y);
|
33
|
-
static inline VALUE rb_fix_mod_fix(VALUE x, VALUE y);
|
34
|
-
static inline bool FIXNUM_POSITIVE_P(VALUE num);
|
35
|
-
static inline bool FIXNUM_NEGATIVE_P(VALUE num);
|
36
|
-
static inline bool FIXNUM_ZERO_P(VALUE num);
|
37
|
-
|
38
|
-
static inline long
|
39
|
-
rb_overflowed_fix_to_int(long x)
|
40
|
-
{
|
41
|
-
return (long)((unsigned long)(x >> 1) ^ (1LU << (SIZEOF_LONG * CHAR_BIT - 1)));
|
42
|
-
}
|
43
|
-
|
44
|
-
static inline VALUE
|
45
|
-
rb_fix_plus_fix(VALUE x, VALUE y)
|
46
|
-
{
|
47
|
-
#if !__has_builtin(__builtin_add_overflow)
|
48
|
-
long lz = FIX2LONG(x) + FIX2LONG(y);
|
49
|
-
return LONG2NUM(lz);
|
50
|
-
#else
|
51
|
-
long lz;
|
52
|
-
/* NOTE
|
53
|
-
* (1) `LONG2FIX(FIX2LONG(x)+FIX2LONG(y))`
|
54
|
-
+ = `((lx*2+1)/2 + (ly*2+1)/2)*2+1`
|
55
|
-
+ = `lx*2 + ly*2 + 1`
|
56
|
-
+ = `(lx*2+1) + (ly*2+1) - 1`
|
57
|
-
+ = `x + y - 1`
|
58
|
-
* (2) Fixnum's LSB is always 1.
|
59
|
-
* It means you can always run `x - 1` without overflow.
|
60
|
-
* (3) Of course `z = x + (y-1)` may overflow.
|
61
|
-
* At that time true value is
|
62
|
-
* * positive: 0b0 1xxx...1, and z = 0b1xxx...1
|
63
|
-
* * negative: 0b1 0xxx...1, and z = 0b0xxx...1
|
64
|
-
* To convert this true value to long,
|
65
|
-
* (a) Use arithmetic shift
|
66
|
-
* * positive: 0b11xxx...
|
67
|
-
* * negative: 0b00xxx...
|
68
|
-
* (b) invert MSB
|
69
|
-
* * positive: 0b01xxx...
|
70
|
-
* * negative: 0b10xxx...
|
71
|
-
*/
|
72
|
-
if (__builtin_add_overflow((long)x, (long)y-1, &lz)) {
|
73
|
-
return rb_int2big(rb_overflowed_fix_to_int(lz));
|
74
|
-
}
|
75
|
-
else {
|
76
|
-
return (VALUE)lz;
|
77
|
-
}
|
78
|
-
#endif
|
79
|
-
}
|
80
|
-
|
81
|
-
static inline VALUE
|
82
|
-
rb_fix_minus_fix(VALUE x, VALUE y)
|
83
|
-
{
|
84
|
-
#if !__has_builtin(__builtin_sub_overflow)
|
85
|
-
long lz = FIX2LONG(x) - FIX2LONG(y);
|
86
|
-
return LONG2NUM(lz);
|
87
|
-
#else
|
88
|
-
long lz;
|
89
|
-
if (__builtin_sub_overflow((long)x, (long)y-1, &lz)) {
|
90
|
-
return rb_int2big(rb_overflowed_fix_to_int(lz));
|
91
|
-
}
|
92
|
-
else {
|
93
|
-
return (VALUE)lz;
|
94
|
-
}
|
95
|
-
#endif
|
96
|
-
}
|
97
|
-
|
98
|
-
/* arguments must be Fixnum */
|
99
|
-
static inline VALUE
|
100
|
-
rb_fix_mul_fix(VALUE x, VALUE y)
|
101
|
-
{
|
102
|
-
long lx = FIX2LONG(x);
|
103
|
-
long ly = FIX2LONG(y);
|
104
|
-
#ifdef DLONG
|
105
|
-
return DL2NUM((DLONG)lx * (DLONG)ly);
|
106
|
-
#else
|
107
|
-
if (MUL_OVERFLOW_FIXNUM_P(lx, ly)) {
|
108
|
-
return rb_big_mul(rb_int2big(lx), rb_int2big(ly));
|
109
|
-
}
|
110
|
-
else {
|
111
|
-
return LONG2FIX(lx * ly);
|
112
|
-
}
|
113
|
-
#endif
|
114
|
-
}
|
115
|
-
|
116
|
-
/*
|
117
|
-
* This behaves different from C99 for negative arguments.
|
118
|
-
* Note that div may overflow fixnum.
|
119
|
-
*/
|
120
|
-
static inline void
|
121
|
-
rb_fix_divmod_fix(VALUE a, VALUE b, VALUE *divp, VALUE *modp)
|
122
|
-
{
|
123
|
-
/* assume / and % comply C99.
|
124
|
-
* ldiv(3) won't be inlined by GCC and clang.
|
125
|
-
* I expect / and % are compiled as single idiv.
|
126
|
-
*/
|
127
|
-
long x = FIX2LONG(a);
|
128
|
-
long y = FIX2LONG(b);
|
129
|
-
long div, mod;
|
130
|
-
if (x == FIXNUM_MIN && y == -1) {
|
131
|
-
if (divp) *divp = LONG2NUM(-FIXNUM_MIN);
|
132
|
-
if (modp) *modp = LONG2FIX(0);
|
133
|
-
return;
|
134
|
-
}
|
135
|
-
div = x / y;
|
136
|
-
mod = x % y;
|
137
|
-
if (y > 0 ? mod < 0 : mod > 0) {
|
138
|
-
mod += y;
|
139
|
-
div -= 1;
|
140
|
-
}
|
141
|
-
if (divp) *divp = LONG2FIX(div);
|
142
|
-
if (modp) *modp = LONG2FIX(mod);
|
143
|
-
}
|
144
|
-
|
145
|
-
/* div() for Ruby
|
146
|
-
* This behaves different from C99 for negative arguments.
|
147
|
-
*/
|
148
|
-
static inline VALUE
|
149
|
-
rb_fix_div_fix(VALUE x, VALUE y)
|
150
|
-
{
|
151
|
-
VALUE div;
|
152
|
-
rb_fix_divmod_fix(x, y, &div, NULL);
|
153
|
-
return div;
|
154
|
-
}
|
155
|
-
|
156
|
-
/* mod() for Ruby
|
157
|
-
* This behaves different from C99 for negative arguments.
|
158
|
-
*/
|
159
|
-
static inline VALUE
|
160
|
-
rb_fix_mod_fix(VALUE x, VALUE y)
|
161
|
-
{
|
162
|
-
VALUE mod;
|
163
|
-
rb_fix_divmod_fix(x, y, NULL, &mod);
|
164
|
-
return mod;
|
165
|
-
}
|
166
|
-
|
167
|
-
static inline bool
|
168
|
-
FIXNUM_POSITIVE_P(VALUE num)
|
169
|
-
{
|
170
|
-
return (SIGNED_VALUE)num > (SIGNED_VALUE)INT2FIX(0);
|
171
|
-
}
|
172
|
-
|
173
|
-
static inline bool
|
174
|
-
FIXNUM_NEGATIVE_P(VALUE num)
|
175
|
-
{
|
176
|
-
return (SIGNED_VALUE)num < 0;
|
177
|
-
}
|
178
|
-
|
179
|
-
static inline bool
|
180
|
-
FIXNUM_ZERO_P(VALUE num)
|
181
|
-
{
|
182
|
-
return num == INT2FIX(0);
|
183
|
-
}
|
184
|
-
#endif /* INTERNAL_FIXNUM_H */
|