debase-ruby_core_source 0.10.14 → 0.10.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/debase-ruby_core_source.gemspec +2 -2
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/addr2line.h +1 -1
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/ccan/build_assert/build_assert.h +40 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/ccan/check_type/check_type.h +63 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/ccan/container_of/container_of.h +142 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/ccan/list/list.h +773 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/ccan/str/str.h +16 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/constant.h +51 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/debug_counter.h +109 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/dln.h +10 -9
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/encindex.h +69 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/eval_intern.h +334 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/gc.h +27 -10
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/id.h +250 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/id_table.h +31 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/insns.inc +217 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/insns_info.inc +1570 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/internal.h +2036 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/iseq.h +308 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/known_errors.inc +16 -1
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/method.h +218 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/node.h +115 -79
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/node_name.inc +12 -22
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/opt_sc.inc +1601 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/optinsn.inc +103 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/optunifs.inc +28 -83
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/parse.h +74 -60
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/probes_helper.h +43 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/regenc.h +254 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/regint.h +299 -211
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/regparse.h +45 -37
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/revision.h +1 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/ruby_assert.h +54 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/ruby_atomic.h +84 -26
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/siphash.h +1 -1
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/symbol.h +108 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/thread_pthread.h +14 -11
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/thread_win32.h +2 -6
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/timev.h +42 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/transcode_data.h +34 -12
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/version.h +73 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/vm.inc +3667 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/vm_call_iseq_optimized.inc +213 -0
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/vm_core.h +1768 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550/debug.h → ruby-2.5.4-p155/vm_debug.h} +4 -8
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/vm_exec.h +38 -30
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/vm_insnhelper.h +255 -0
- data/lib/debase/ruby_core_source/{ruby-1.9.3-p550 → ruby-2.5.4-p155}/vm_opts.h +14 -9
- data/lib/debase/ruby_core_source/ruby-2.5.4-p155/vmtc.inc +214 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/addr2line.h +20 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/builtin.h +84 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/build_assert/build_assert.h +40 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/check_type/check_type.h +63 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/container_of/container_of.h +142 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/list/list.h +789 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ccan/str/str.h +17 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/constant.h +55 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/darray.h +226 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/debug_counter.h +469 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/dln.h +31 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/encindex.h +70 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/eval_intern.h +339 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/gc.h +143 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/hrtime.h +216 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/id.h +295 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/id_table.h +36 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/insns.inc +249 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/insns_info.inc +9064 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/array.h +113 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/bignum.h +246 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/bits.h +565 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/class.h +211 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/cmdlineopt.h +61 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/compar.h +49 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/compile.h +35 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/compilers.h +107 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/complex.h +29 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/cont.h +24 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/dir.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/enc.h +19 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/encoding.h +30 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/enum.h +18 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/enumerator.h +21 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/error.h +191 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/eval.h +32 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/file.h +38 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/fixnum.h +184 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/gc.h +188 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/hash.h +243 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/imemo.h +243 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/inits.h +50 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/io.h +38 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/load.h +18 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/loadpath.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/math.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/missing.h +18 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/numeric.h +271 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/object.h +83 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/parse.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/proc.h +32 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/process.h +137 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/ractor.h +6 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/random.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/range.h +40 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/rational.h +72 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/re.h +30 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/sanitizers.h +190 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/serial.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/signal.h +21 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/static_assert.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/string.h +141 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/struct.h +153 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/symbol.h +41 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/thread.h +53 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/time.h +34 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/transcode.h +20 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/util.h +27 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/variable.h +83 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/vm.h +134 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal/warnings.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/internal.h +109 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/iseq.h +325 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/known_errors.inc +791 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/method.h +254 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/mjit.h +231 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/mjit_compile.inc +8333 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/node.h +510 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/node_name.inc +208 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/opt_sc.inc +109 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/optinsn.inc +128 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/optunifs.inc +43 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/parse.h +214 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/probes_helper.h +44 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ractor_core.h +346 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/regenc.h +255 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/regint.h +957 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/regparse.h +370 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/revision.h +2 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ruby_assert.h +14 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/ruby_atomic.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/siphash.h +48 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/symbol.h +119 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/thread_none.h +17 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/thread_pthread.h +115 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/thread_win32.h +61 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/timev.h +57 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/transcode_data.h +138 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/transient_heap.h +65 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/variable.h +21 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/version.h +91 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm.inc +5481 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_call_iseq_optimized.inc +244 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_callinfo.h +502 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_core.h +2089 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_debug.h +113 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_exec.h +197 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_insnhelper.h +262 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_opts.h +73 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vm_sync.h +137 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/vmtc.inc +243 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit.h +73 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit_asm.h +408 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit_codegen.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit_core.h +307 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview1/yjit_iface.h +38 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/addr2line.h +20 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/builtin.h +121 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/build_assert/build_assert.h +40 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/check_type/check_type.h +63 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/container_of/container_of.h +142 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/list/list.h +789 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ccan/str/str.h +17 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/constant.h +55 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/darray.h +179 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/debug_counter.h +469 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/dln.h +31 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/encindex.h +70 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/eval_intern.h +339 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/gc.h +143 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/hrtime.h +226 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/id.h +295 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/id_table.h +36 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/insns.inc +249 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/insns_info.inc +9061 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/array.h +162 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/bignum.h +246 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/bits.h +565 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/class.h +212 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/cmdlineopt.h +58 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/compar.h +49 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/compile.h +35 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/compilers.h +107 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/complex.h +29 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/cont.h +26 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/dir.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/enc.h +19 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/encoding.h +30 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/enum.h +18 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/enumerator.h +21 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/error.h +191 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/eval.h +32 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/file.h +38 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/fixnum.h +184 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/gc.h +188 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/hash.h +243 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/imemo.h +242 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/inits.h +50 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/io.h +38 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/load.h +18 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/loadpath.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/math.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/missing.h +18 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/numeric.h +271 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/object.h +83 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/parse.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/proc.h +32 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/process.h +137 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/ractor.h +6 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/random.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/range.h +40 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/rational.h +72 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/re.h +30 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/sanitizers.h +190 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/serial.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/signal.h +21 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/static_assert.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/string.h +146 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/struct.h +153 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/symbol.h +42 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/thread.h +54 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/time.h +34 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/transcode.h +20 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/util.h +27 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/variable.h +83 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/vm.h +134 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal/warnings.h +16 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/internal.h +113 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/iseq.h +328 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/known_errors.inc +791 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/method.h +253 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/mjit.h +136 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/mjit_compile_attr.inc +430 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/mjit_compiler.h +58 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/mjit_unit.h +29 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/node.h +510 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/node_name.inc +208 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/opt_sc.inc +109 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/optinsn.inc +128 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/optunifs.inc +43 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/parse.h +214 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/probes_helper.h +44 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ractor_core.h +341 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/regenc.h +255 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/regint.h +957 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/regparse.h +370 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/revision.h +2 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ruby_assert.h +14 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/ruby_atomic.h +23 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/siphash.h +48 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/symbol.h +119 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/thread_none.h +20 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/thread_pthread.h +132 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/thread_win32.h +63 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/timev.h +57 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/transcode_data.h +138 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/transient_heap.h +65 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/variable.h +21 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/version.h +68 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm.inc +5476 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_call_iseq_optimized.inc +244 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_callinfo.h +522 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_core.h +2130 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_debug.h +122 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_exec.h +197 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_insnhelper.h +269 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_opts.h +73 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vm_sync.h +137 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/vmtc.inc +243 -0
- data/lib/debase/ruby_core_source/ruby-3.2.0-preview2/yjit.h +72 -0
- data/lib/debase/ruby_core_source/version.rb +1 -1
- metadata +284 -44
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/constant.h +0 -34
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/encdb.h +0 -167
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/eval_intern.h +0 -234
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/id.h +0 -177
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/insns.inc +0 -179
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/insns_info.inc +0 -695
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/internal.h +0 -242
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/iseq.h +0 -126
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/method.h +0 -105
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/opt_sc.inc +0 -670
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/optinsn.inc +0 -30
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/regenc.h +0 -219
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/revision.h +0 -1
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/timev.h +0 -21
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/transdb.h +0 -189
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/version.h +0 -52
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/vm.inc +0 -3054
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/vm_core.h +0 -763
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/vm_insnhelper.h +0 -220
- data/lib/debase/ruby_core_source/ruby-1.9.3-p550/vmtc.inc +0 -97
@@ -1,695 +0,0 @@
|
|
1
|
-
/** -*-c-*-
|
2
|
-
This file contains instruction information for yarv instruction sequence.
|
3
|
-
|
4
|
-
----
|
5
|
-
This file is auto generated by insns2vm.rb
|
6
|
-
DO NOT TOUCH!
|
7
|
-
|
8
|
-
If you want to fix something, you must edit 'template/insns_info.inc.tmpl'
|
9
|
-
or insns2vm.rb
|
10
|
-
*/
|
11
|
-
|
12
|
-
#define TS_OFFSET 'O'
|
13
|
-
#define TS_NUM 'N'
|
14
|
-
#define TS_LINDEX 'L'
|
15
|
-
#define TS_DINDEX 'D'
|
16
|
-
#define TS_VALUE 'V'
|
17
|
-
#define TS_ID 'I'
|
18
|
-
#define TS_GENTRY 'G'
|
19
|
-
#define TS_IC 'C'
|
20
|
-
#define TS_CDHASH 'H'
|
21
|
-
#define TS_ISEQ 'S'
|
22
|
-
#define TS_VARIABLE '.'
|
23
|
-
#define TS_FUNCPTR 'F'
|
24
|
-
|
25
|
-
static const char *const insn_name_info[] = {
|
26
|
-
"nop",
|
27
|
-
"getlocal",
|
28
|
-
"setlocal",
|
29
|
-
"getspecial",
|
30
|
-
"setspecial",
|
31
|
-
"getdynamic",
|
32
|
-
"setdynamic",
|
33
|
-
"getinstancevariable",
|
34
|
-
"setinstancevariable",
|
35
|
-
"getclassvariable",
|
36
|
-
"setclassvariable",
|
37
|
-
"getconstant",
|
38
|
-
"setconstant",
|
39
|
-
"getglobal",
|
40
|
-
"setglobal",
|
41
|
-
"putnil",
|
42
|
-
"putself",
|
43
|
-
"putobject",
|
44
|
-
"putspecialobject",
|
45
|
-
"putiseq",
|
46
|
-
"putstring",
|
47
|
-
"concatstrings",
|
48
|
-
"tostring",
|
49
|
-
"toregexp",
|
50
|
-
"newarray",
|
51
|
-
"duparray",
|
52
|
-
"expandarray",
|
53
|
-
"concatarray",
|
54
|
-
"splatarray",
|
55
|
-
"checkincludearray",
|
56
|
-
"newhash",
|
57
|
-
"newrange",
|
58
|
-
"pop",
|
59
|
-
"dup",
|
60
|
-
"dupn",
|
61
|
-
"swap",
|
62
|
-
"reput",
|
63
|
-
"topn",
|
64
|
-
"setn",
|
65
|
-
"adjuststack",
|
66
|
-
"defined",
|
67
|
-
"trace",
|
68
|
-
"defineclass",
|
69
|
-
"send",
|
70
|
-
"invokesuper",
|
71
|
-
"invokeblock",
|
72
|
-
"leave",
|
73
|
-
"finish",
|
74
|
-
"throw",
|
75
|
-
"jump",
|
76
|
-
"branchif",
|
77
|
-
"branchunless",
|
78
|
-
"getinlinecache",
|
79
|
-
"onceinlinecache",
|
80
|
-
"setinlinecache",
|
81
|
-
"opt_case_dispatch",
|
82
|
-
"opt_checkenv",
|
83
|
-
"opt_plus",
|
84
|
-
"opt_minus",
|
85
|
-
"opt_mult",
|
86
|
-
"opt_div",
|
87
|
-
"opt_mod",
|
88
|
-
"opt_eq",
|
89
|
-
"opt_neq",
|
90
|
-
"opt_lt",
|
91
|
-
"opt_le",
|
92
|
-
"opt_gt",
|
93
|
-
"opt_ge",
|
94
|
-
"opt_ltlt",
|
95
|
-
"opt_aref",
|
96
|
-
"opt_aset",
|
97
|
-
"opt_length",
|
98
|
-
"opt_size",
|
99
|
-
"opt_succ",
|
100
|
-
"opt_not",
|
101
|
-
"opt_regexpmatch1",
|
102
|
-
"opt_regexpmatch2",
|
103
|
-
"opt_call_c_function",
|
104
|
-
"bitblt",
|
105
|
-
"answer",
|
106
|
-
|
107
|
-
};
|
108
|
-
|
109
|
-
static const char *const insn_operand_info[] = {
|
110
|
-
"",
|
111
|
-
"L",
|
112
|
-
"L",
|
113
|
-
"NN",
|
114
|
-
"N",
|
115
|
-
"DN",
|
116
|
-
"DN",
|
117
|
-
"IC",
|
118
|
-
"IC",
|
119
|
-
"I",
|
120
|
-
"I",
|
121
|
-
"I",
|
122
|
-
"I",
|
123
|
-
"G",
|
124
|
-
"G",
|
125
|
-
"",
|
126
|
-
"",
|
127
|
-
"V",
|
128
|
-
"N",
|
129
|
-
"S",
|
130
|
-
"V",
|
131
|
-
"N",
|
132
|
-
"",
|
133
|
-
"NN",
|
134
|
-
"N",
|
135
|
-
"V",
|
136
|
-
"NN",
|
137
|
-
"",
|
138
|
-
"V",
|
139
|
-
"V",
|
140
|
-
"N",
|
141
|
-
"N",
|
142
|
-
"",
|
143
|
-
"",
|
144
|
-
"N",
|
145
|
-
"",
|
146
|
-
"",
|
147
|
-
"N",
|
148
|
-
"N",
|
149
|
-
"N",
|
150
|
-
"NVV",
|
151
|
-
"N",
|
152
|
-
"ISN",
|
153
|
-
"INSNC",
|
154
|
-
"NSN",
|
155
|
-
"NN",
|
156
|
-
"",
|
157
|
-
"",
|
158
|
-
"N",
|
159
|
-
"O",
|
160
|
-
"O",
|
161
|
-
"O",
|
162
|
-
"OC",
|
163
|
-
"OC",
|
164
|
-
"C",
|
165
|
-
"HO",
|
166
|
-
"",
|
167
|
-
"C",
|
168
|
-
"C",
|
169
|
-
"C",
|
170
|
-
"C",
|
171
|
-
"C",
|
172
|
-
"C",
|
173
|
-
"CC",
|
174
|
-
"C",
|
175
|
-
"C",
|
176
|
-
"C",
|
177
|
-
"C",
|
178
|
-
"C",
|
179
|
-
"C",
|
180
|
-
"C",
|
181
|
-
"C",
|
182
|
-
"C",
|
183
|
-
"C",
|
184
|
-
"C",
|
185
|
-
"V",
|
186
|
-
"",
|
187
|
-
"F",
|
188
|
-
"",
|
189
|
-
"",
|
190
|
-
|
191
|
-
};
|
192
|
-
|
193
|
-
static const int insn_len_info[] = {
|
194
|
-
1,
|
195
|
-
2,
|
196
|
-
2,
|
197
|
-
3,
|
198
|
-
2,
|
199
|
-
3,
|
200
|
-
3,
|
201
|
-
3,
|
202
|
-
3,
|
203
|
-
2,
|
204
|
-
2,
|
205
|
-
2,
|
206
|
-
2,
|
207
|
-
2,
|
208
|
-
2,
|
209
|
-
1,
|
210
|
-
1,
|
211
|
-
2,
|
212
|
-
2,
|
213
|
-
2,
|
214
|
-
2,
|
215
|
-
2,
|
216
|
-
1,
|
217
|
-
3,
|
218
|
-
2,
|
219
|
-
2,
|
220
|
-
3,
|
221
|
-
1,
|
222
|
-
2,
|
223
|
-
2,
|
224
|
-
2,
|
225
|
-
2,
|
226
|
-
1,
|
227
|
-
1,
|
228
|
-
2,
|
229
|
-
1,
|
230
|
-
1,
|
231
|
-
2,
|
232
|
-
2,
|
233
|
-
2,
|
234
|
-
4,
|
235
|
-
2,
|
236
|
-
4,
|
237
|
-
6,
|
238
|
-
4,
|
239
|
-
3,
|
240
|
-
1,
|
241
|
-
1,
|
242
|
-
2,
|
243
|
-
2,
|
244
|
-
2,
|
245
|
-
2,
|
246
|
-
3,
|
247
|
-
3,
|
248
|
-
2,
|
249
|
-
3,
|
250
|
-
1,
|
251
|
-
2,
|
252
|
-
2,
|
253
|
-
2,
|
254
|
-
2,
|
255
|
-
2,
|
256
|
-
2,
|
257
|
-
3,
|
258
|
-
2,
|
259
|
-
2,
|
260
|
-
2,
|
261
|
-
2,
|
262
|
-
2,
|
263
|
-
2,
|
264
|
-
2,
|
265
|
-
2,
|
266
|
-
2,
|
267
|
-
2,
|
268
|
-
2,
|
269
|
-
2,
|
270
|
-
1,
|
271
|
-
2,
|
272
|
-
1,
|
273
|
-
1,
|
274
|
-
|
275
|
-
};
|
276
|
-
|
277
|
-
#ifdef USE_INSN_RET_NUM
|
278
|
-
static const int insn_stack_push_num_info[] = {
|
279
|
-
0,
|
280
|
-
1,
|
281
|
-
0,
|
282
|
-
1,
|
283
|
-
0,
|
284
|
-
1,
|
285
|
-
0,
|
286
|
-
1,
|
287
|
-
0,
|
288
|
-
1,
|
289
|
-
0,
|
290
|
-
1,
|
291
|
-
0,
|
292
|
-
1,
|
293
|
-
0,
|
294
|
-
1,
|
295
|
-
1,
|
296
|
-
1,
|
297
|
-
1,
|
298
|
-
1,
|
299
|
-
1,
|
300
|
-
1,
|
301
|
-
1,
|
302
|
-
1,
|
303
|
-
1,
|
304
|
-
1,
|
305
|
-
1,
|
306
|
-
1,
|
307
|
-
1,
|
308
|
-
2,
|
309
|
-
1,
|
310
|
-
1,
|
311
|
-
0,
|
312
|
-
2,
|
313
|
-
1,
|
314
|
-
2,
|
315
|
-
1,
|
316
|
-
1,
|
317
|
-
1,
|
318
|
-
1,
|
319
|
-
1,
|
320
|
-
0,
|
321
|
-
1,
|
322
|
-
1,
|
323
|
-
1,
|
324
|
-
1,
|
325
|
-
1,
|
326
|
-
1,
|
327
|
-
1,
|
328
|
-
0,
|
329
|
-
0,
|
330
|
-
0,
|
331
|
-
1,
|
332
|
-
1,
|
333
|
-
1,
|
334
|
-
0,
|
335
|
-
0,
|
336
|
-
1,
|
337
|
-
1,
|
338
|
-
1,
|
339
|
-
1,
|
340
|
-
1,
|
341
|
-
1,
|
342
|
-
1,
|
343
|
-
1,
|
344
|
-
1,
|
345
|
-
1,
|
346
|
-
1,
|
347
|
-
1,
|
348
|
-
1,
|
349
|
-
1,
|
350
|
-
1,
|
351
|
-
1,
|
352
|
-
1,
|
353
|
-
1,
|
354
|
-
1,
|
355
|
-
1,
|
356
|
-
0,
|
357
|
-
1,
|
358
|
-
1,
|
359
|
-
|
360
|
-
};
|
361
|
-
#endif
|
362
|
-
|
363
|
-
#ifdef USE_INSN_STACK_INCREASE
|
364
|
-
static int
|
365
|
-
insn_stack_increase(int depth, int insn, VALUE *opes)
|
366
|
-
{
|
367
|
-
switch(insn){
|
368
|
-
case BIN(nop):{
|
369
|
-
return depth + 0;
|
370
|
-
}
|
371
|
-
case BIN(getlocal):{
|
372
|
-
return depth + 1;
|
373
|
-
}
|
374
|
-
case BIN(setlocal):{
|
375
|
-
return depth + -1;
|
376
|
-
}
|
377
|
-
case BIN(getspecial):{
|
378
|
-
return depth + 1;
|
379
|
-
}
|
380
|
-
case BIN(setspecial):{
|
381
|
-
return depth + -1;
|
382
|
-
}
|
383
|
-
case BIN(getdynamic):{
|
384
|
-
return depth + 1;
|
385
|
-
}
|
386
|
-
case BIN(setdynamic):{
|
387
|
-
return depth + -1;
|
388
|
-
}
|
389
|
-
case BIN(getinstancevariable):{
|
390
|
-
return depth + 1;
|
391
|
-
}
|
392
|
-
case BIN(setinstancevariable):{
|
393
|
-
return depth + -1;
|
394
|
-
}
|
395
|
-
case BIN(getclassvariable):{
|
396
|
-
return depth + 1;
|
397
|
-
}
|
398
|
-
case BIN(setclassvariable):{
|
399
|
-
return depth + -1;
|
400
|
-
}
|
401
|
-
case BIN(getconstant):{
|
402
|
-
return depth + 0;
|
403
|
-
}
|
404
|
-
case BIN(setconstant):{
|
405
|
-
return depth + -2;
|
406
|
-
}
|
407
|
-
case BIN(getglobal):{
|
408
|
-
return depth + 1;
|
409
|
-
}
|
410
|
-
case BIN(setglobal):{
|
411
|
-
return depth + -1;
|
412
|
-
}
|
413
|
-
case BIN(putnil):{
|
414
|
-
return depth + 1;
|
415
|
-
}
|
416
|
-
case BIN(putself):{
|
417
|
-
return depth + 1;
|
418
|
-
}
|
419
|
-
case BIN(putobject):{
|
420
|
-
return depth + 1;
|
421
|
-
}
|
422
|
-
case BIN(putspecialobject):{
|
423
|
-
return depth + 1;
|
424
|
-
}
|
425
|
-
case BIN(putiseq):{
|
426
|
-
return depth + 1;
|
427
|
-
}
|
428
|
-
case BIN(putstring):{
|
429
|
-
return depth + 1;
|
430
|
-
}
|
431
|
-
case BIN(concatstrings):{
|
432
|
-
int inc = 0;
|
433
|
-
int num = FIX2INT(opes[0]);
|
434
|
-
inc += 1 - num;;
|
435
|
-
return depth + inc;
|
436
|
-
}
|
437
|
-
case BIN(tostring):{
|
438
|
-
return depth + 0;
|
439
|
-
}
|
440
|
-
case BIN(toregexp):{
|
441
|
-
int inc = 0;
|
442
|
-
int cnt = FIX2INT(opes[1]);
|
443
|
-
inc += 1 - cnt;;
|
444
|
-
return depth + inc;
|
445
|
-
}
|
446
|
-
case BIN(newarray):{
|
447
|
-
int inc = 0;
|
448
|
-
int num = FIX2INT(opes[0]);
|
449
|
-
inc += 1 - num;;
|
450
|
-
return depth + inc;
|
451
|
-
}
|
452
|
-
case BIN(duparray):{
|
453
|
-
return depth + 1;
|
454
|
-
}
|
455
|
-
case BIN(expandarray):{
|
456
|
-
int inc = 0;
|
457
|
-
int num = FIX2INT(opes[0]);
|
458
|
-
int flag = FIX2INT(opes[1]);
|
459
|
-
inc += num - 1 + (flag & 1 ? 1 : 0);;
|
460
|
-
return depth + inc;
|
461
|
-
}
|
462
|
-
case BIN(concatarray):{
|
463
|
-
return depth + -1;
|
464
|
-
}
|
465
|
-
case BIN(splatarray):{
|
466
|
-
return depth + 0;
|
467
|
-
}
|
468
|
-
case BIN(checkincludearray):{
|
469
|
-
return depth + 0;
|
470
|
-
}
|
471
|
-
case BIN(newhash):{
|
472
|
-
int inc = 0;
|
473
|
-
int num = FIX2INT(opes[0]);
|
474
|
-
inc += 1 - num;;
|
475
|
-
return depth + inc;
|
476
|
-
}
|
477
|
-
case BIN(newrange):{
|
478
|
-
return depth + -1;
|
479
|
-
}
|
480
|
-
case BIN(pop):{
|
481
|
-
return depth + -1;
|
482
|
-
}
|
483
|
-
case BIN(dup):{
|
484
|
-
return depth + 1;
|
485
|
-
}
|
486
|
-
case BIN(dupn):{
|
487
|
-
int inc = 0;
|
488
|
-
int n = FIX2INT(opes[0]);
|
489
|
-
inc += n;;
|
490
|
-
return depth + inc;
|
491
|
-
}
|
492
|
-
case BIN(swap):{
|
493
|
-
return depth + 0;
|
494
|
-
}
|
495
|
-
case BIN(reput):{
|
496
|
-
int inc = 0;
|
497
|
-
inc += 0;;
|
498
|
-
return depth + inc;
|
499
|
-
}
|
500
|
-
case BIN(topn):{
|
501
|
-
int inc = 0;
|
502
|
-
inc += 1;;
|
503
|
-
return depth + inc;
|
504
|
-
}
|
505
|
-
case BIN(setn):{
|
506
|
-
int inc = 0;
|
507
|
-
inc += 0;
|
508
|
-
return depth + inc;
|
509
|
-
}
|
510
|
-
case BIN(adjuststack):{
|
511
|
-
int inc = 0;
|
512
|
-
int n = FIX2INT(opes[0]);
|
513
|
-
inc -= n;
|
514
|
-
return depth + inc;
|
515
|
-
}
|
516
|
-
case BIN(defined):{
|
517
|
-
return depth + 0;
|
518
|
-
}
|
519
|
-
case BIN(trace):{
|
520
|
-
return depth + 0;
|
521
|
-
}
|
522
|
-
case BIN(defineclass):{
|
523
|
-
return depth + -1;
|
524
|
-
}
|
525
|
-
case BIN(send):{
|
526
|
-
int inc = 0;
|
527
|
-
int op_argc = FIX2INT(opes[1]);
|
528
|
-
int op_flag = FIX2INT(opes[3]);
|
529
|
-
inc += - (int)(op_argc + ((op_flag & VM_CALL_ARGS_BLOCKARG_BIT) ? 1 : 0));;
|
530
|
-
return depth + inc;
|
531
|
-
}
|
532
|
-
case BIN(invokesuper):{
|
533
|
-
int inc = 0;
|
534
|
-
int op_argc = FIX2INT(opes[0]);
|
535
|
-
int op_flag = FIX2INT(opes[2]);
|
536
|
-
inc += - (int)(op_argc + ((op_flag & VM_CALL_ARGS_BLOCKARG_BIT) ? 1 : 0));;
|
537
|
-
return depth + inc;
|
538
|
-
}
|
539
|
-
case BIN(invokeblock):{
|
540
|
-
int inc = 0;
|
541
|
-
int num = FIX2INT(opes[0]);
|
542
|
-
inc += 1 - num;;
|
543
|
-
return depth + inc;
|
544
|
-
}
|
545
|
-
case BIN(leave):{
|
546
|
-
return depth + 0;
|
547
|
-
}
|
548
|
-
case BIN(finish):{
|
549
|
-
return depth + 0;
|
550
|
-
}
|
551
|
-
case BIN(throw):{
|
552
|
-
return depth + 0;
|
553
|
-
}
|
554
|
-
case BIN(jump):{
|
555
|
-
return depth + 0;
|
556
|
-
}
|
557
|
-
case BIN(branchif):{
|
558
|
-
return depth + -1;
|
559
|
-
}
|
560
|
-
case BIN(branchunless):{
|
561
|
-
return depth + -1;
|
562
|
-
}
|
563
|
-
case BIN(getinlinecache):{
|
564
|
-
return depth + 1;
|
565
|
-
}
|
566
|
-
case BIN(onceinlinecache):{
|
567
|
-
return depth + 1;
|
568
|
-
}
|
569
|
-
case BIN(setinlinecache):{
|
570
|
-
return depth + 0;
|
571
|
-
}
|
572
|
-
case BIN(opt_case_dispatch):{
|
573
|
-
int inc = 0;
|
574
|
-
inc += -1;;
|
575
|
-
return depth + inc;
|
576
|
-
}
|
577
|
-
case BIN(opt_checkenv):{
|
578
|
-
return depth + 0;
|
579
|
-
}
|
580
|
-
case BIN(opt_plus):{
|
581
|
-
return depth + -1;
|
582
|
-
}
|
583
|
-
case BIN(opt_minus):{
|
584
|
-
return depth + -1;
|
585
|
-
}
|
586
|
-
case BIN(opt_mult):{
|
587
|
-
return depth + -1;
|
588
|
-
}
|
589
|
-
case BIN(opt_div):{
|
590
|
-
return depth + -1;
|
591
|
-
}
|
592
|
-
case BIN(opt_mod):{
|
593
|
-
return depth + -1;
|
594
|
-
}
|
595
|
-
case BIN(opt_eq):{
|
596
|
-
return depth + -1;
|
597
|
-
}
|
598
|
-
case BIN(opt_neq):{
|
599
|
-
return depth + -1;
|
600
|
-
}
|
601
|
-
case BIN(opt_lt):{
|
602
|
-
return depth + -1;
|
603
|
-
}
|
604
|
-
case BIN(opt_le):{
|
605
|
-
return depth + -1;
|
606
|
-
}
|
607
|
-
case BIN(opt_gt):{
|
608
|
-
return depth + -1;
|
609
|
-
}
|
610
|
-
case BIN(opt_ge):{
|
611
|
-
return depth + -1;
|
612
|
-
}
|
613
|
-
case BIN(opt_ltlt):{
|
614
|
-
return depth + -1;
|
615
|
-
}
|
616
|
-
case BIN(opt_aref):{
|
617
|
-
return depth + -1;
|
618
|
-
}
|
619
|
-
case BIN(opt_aset):{
|
620
|
-
return depth + -2;
|
621
|
-
}
|
622
|
-
case BIN(opt_length):{
|
623
|
-
return depth + 0;
|
624
|
-
}
|
625
|
-
case BIN(opt_size):{
|
626
|
-
return depth + 0;
|
627
|
-
}
|
628
|
-
case BIN(opt_succ):{
|
629
|
-
return depth + 0;
|
630
|
-
}
|
631
|
-
case BIN(opt_not):{
|
632
|
-
return depth + 0;
|
633
|
-
}
|
634
|
-
case BIN(opt_regexpmatch1):{
|
635
|
-
return depth + 0;
|
636
|
-
}
|
637
|
-
case BIN(opt_regexpmatch2):{
|
638
|
-
return depth + -1;
|
639
|
-
}
|
640
|
-
case BIN(opt_call_c_function):{
|
641
|
-
return depth + 0;
|
642
|
-
}
|
643
|
-
case BIN(bitblt):{
|
644
|
-
return depth + 1;
|
645
|
-
}
|
646
|
-
case BIN(answer):{
|
647
|
-
return depth + 1;
|
648
|
-
}
|
649
|
-
|
650
|
-
default:
|
651
|
-
rb_bug("insn_sp_increase: unreachable");
|
652
|
-
}
|
653
|
-
return 0;
|
654
|
-
}
|
655
|
-
#endif
|
656
|
-
|
657
|
-
/* some utilities */
|
658
|
-
|
659
|
-
static int
|
660
|
-
insn_len(VALUE insn)
|
661
|
-
{
|
662
|
-
return insn_len_info[(int)insn];
|
663
|
-
}
|
664
|
-
|
665
|
-
static const char *
|
666
|
-
insn_name(VALUE insn)
|
667
|
-
{
|
668
|
-
return insn_name_info[(int)insn];
|
669
|
-
}
|
670
|
-
|
671
|
-
static const char *
|
672
|
-
insn_op_types(VALUE insn)
|
673
|
-
{
|
674
|
-
return insn_operand_info[(int)insn];
|
675
|
-
}
|
676
|
-
|
677
|
-
static int
|
678
|
-
insn_op_type(VALUE insn, long pos)
|
679
|
-
{
|
680
|
-
int len = insn_len(insn) - 1;
|
681
|
-
if(pos < len){
|
682
|
-
return insn_operand_info[(int)insn][pos];
|
683
|
-
}
|
684
|
-
else{
|
685
|
-
return 0;
|
686
|
-
}
|
687
|
-
}
|
688
|
-
|
689
|
-
#ifdef USE_INSN_RET_NUM
|
690
|
-
static int
|
691
|
-
insn_ret_num(VALUE insn)
|
692
|
-
{
|
693
|
-
return insn_stack_push_num_info[(int)insn];
|
694
|
-
}
|
695
|
-
#endif
|