debase-ruby_core_source 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/darray.h +246 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/debug_counter.h +7 -10
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/eval_intern.h +3 -1
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/id.h +44 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/insns_info.inc +68 -94
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/array.h +2 -20
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/bits.h +6 -2
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/class.h +7 -2
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/cmdlineopt.h +3 -1
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/compile.h +0 -1
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/error.h +24 -2
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/gc.h +28 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/hash.h +18 -44
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/internal/io.h +137 -0
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/internal/parse.h +133 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/process.h +0 -14
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/range.h +2 -2
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/re.h +1 -1
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/internal/ruby_parser.h +69 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/signal.h +4 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/string.h +15 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/struct.h +9 -34
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/thread.h +13 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/variable.h +16 -33
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/vm.h +5 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/iseq.h +4 -4
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/method.h +1 -1
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/node.h +125 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/parse.h +6 -4
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/parser_bits.h +564 -0
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/parser_node.h +133 -0
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/parser_st.h +162 -0
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/parser_value.h +106 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/ractor_core.h +3 -3
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/revision.h +5 -0
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview2/rubyparser.h +628 -0
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/symbol.h +1 -1
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/thread_pthread.h +11 -13
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/thread_win32.h +0 -5
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/version.h +1 -1
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm.inc +303 -404
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm_callinfo.h +50 -16
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm_core.h +29 -47
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm_exec.h +11 -10
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm_insnhelper.h +20 -23
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm_opts.h +0 -5
- data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/yjit.h +4 -6
- data/lib/debase/ruby_core_source/version.rb +1 -1
- metadata +119 -115
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview1/darray.h +0 -179
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview1/internal/io.h +0 -38
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview1/internal/parse.h +0 -25
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview1/node.h +0 -514
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview1/opt_sc.inc +0 -109
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview1/revision.h +0 -5
- data/lib/debase/ruby_core_source/ruby-3.3.0-preview1/transient_heap.h +0 -65
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/addr2line.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/builtin.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/ccan/build_assert/build_assert.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/ccan/check_type/check_type.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/ccan/container_of/container_of.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/ccan/list/list.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/ccan/str/str.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/constant.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/dln.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/encindex.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/hrtime.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/id_table.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/insns.inc +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/basic_operators.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/bignum.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/compar.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/compilers.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/complex.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/cont.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/dir.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/enc.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/encoding.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/enum.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/enumerator.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/eval.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/file.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/fixnum.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/imemo.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/inits.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/load.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/loadpath.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/math.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/missing.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/numeric.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/object.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/proc.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/ractor.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/random.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/rational.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/sanitizers.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/serial.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/static_assert.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/symbol.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/time.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/transcode.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/util.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/warnings.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/known_errors.inc +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/node_name.inc +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/optinsn.inc +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/optunifs.inc +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/probes_helper.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/regenc.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/regint.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/regparse.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/rjit.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/rjit_c.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/ruby_assert.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/ruby_atomic.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/shape.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/siphash.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/thread_none.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/timev.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/transcode_data.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/variable.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm_call_iseq_optimized.inc +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm_debug.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vm_sync.h +0 -0
- /data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/vmtc.inc +0 -0
@@ -443,32 +443,6 @@ insn_op_type(VALUE i, long j)
|
|
443
443
|
|
444
444
|
#include "iseq.h"
|
445
445
|
|
446
|
-
extern const bool rb_vm_insn_leaf_p[];
|
447
|
-
|
448
|
-
#ifdef RUBY_VM_INSNS_INFO
|
449
|
-
const bool rb_vm_insn_leaf_p[] = {
|
450
|
-
1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1,
|
451
|
-
0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1,
|
452
|
-
1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0,
|
453
|
-
0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0,
|
454
|
-
1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1,
|
455
|
-
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
456
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
457
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
458
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
459
|
-
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
460
|
-
0, 0,
|
461
|
-
};
|
462
|
-
#endif
|
463
|
-
|
464
|
-
CONSTFUNC(MAYBE_UNUSED(static bool insn_leaf_p(VALUE insn)));
|
465
|
-
|
466
|
-
bool
|
467
|
-
insn_leaf_p(VALUE insn)
|
468
|
-
{
|
469
|
-
return rb_vm_insn_leaf_p[insn];
|
470
|
-
}
|
471
|
-
|
472
446
|
// This is used to tell RJIT that this insn would be leaf if CHECK_INTS didn't exist.
|
473
447
|
// It should be used only when RUBY_VM_CHECK_INTS is directly written in insns.def.
|
474
448
|
static bool leafness_of_check_ints = false;
|
@@ -510,7 +484,7 @@ leafness_of_checkmatch(rb_num_t flag)
|
|
510
484
|
return false;
|
511
485
|
}
|
512
486
|
}
|
513
|
-
#line
|
487
|
+
#line 488 "insns_info.inc"
|
514
488
|
|
515
489
|
#line 10 "tool/ruby_vm/views/_sp_inc_helpers.erb"
|
516
490
|
|
@@ -540,7 +514,7 @@ sp_inc_of_invokeblock(const struct rb_callinfo *ci)
|
|
540
514
|
* instructions, except that it does not pop receiver. */
|
541
515
|
return sp_inc_of_sendish(ci) + 1;
|
542
516
|
}
|
543
|
-
#line
|
517
|
+
#line 518 "insns_info.inc"
|
544
518
|
|
545
519
|
#ifndef RUBY_VM_EXEC_H
|
546
520
|
/* can't #include "vm_exec.h" here... */
|
@@ -2008,7 +1982,7 @@ attr_leaf_getspecial(
|
|
2008
1982
|
return
|
2009
1983
|
#line 192 "insns.def"
|
2010
1984
|
(type == 0) ? true : false;
|
2011
|
-
#line
|
1985
|
+
#line 1986 "insns_info.inc"
|
2012
1986
|
}
|
2013
1987
|
|
2014
1988
|
/* attr const char* name @ getspecial(key, type)()(val) */
|
@@ -2164,7 +2138,7 @@ attr_leaf_getinstancevariable(
|
|
2164
2138
|
return
|
2165
2139
|
#line 214 "insns.def"
|
2166
2140
|
false;
|
2167
|
-
#line
|
2141
|
+
#line 2142 "insns_info.inc"
|
2168
2142
|
}
|
2169
2143
|
|
2170
2144
|
/* attr const char* name @ getinstancevariable(id, ic)()(val) */
|
@@ -2257,7 +2231,7 @@ attr_leaf_setinstancevariable(
|
|
2257
2231
|
return
|
2258
2232
|
#line 225 "insns.def"
|
2259
2233
|
false;
|
2260
|
-
#line
|
2234
|
+
#line 2235 "insns_info.inc"
|
2261
2235
|
}
|
2262
2236
|
|
2263
2237
|
/* attr const char* name @ setinstancevariable(id, ic)(val)() */
|
@@ -2350,7 +2324,7 @@ attr_leaf_getclassvariable(
|
|
2350
2324
|
return
|
2351
2325
|
#line 237 "insns.def"
|
2352
2326
|
false;
|
2353
|
-
#line
|
2327
|
+
#line 2328 "insns_info.inc"
|
2354
2328
|
}
|
2355
2329
|
|
2356
2330
|
/* attr const char* name @ getclassvariable(id, ic)()(val) */
|
@@ -2443,7 +2417,7 @@ attr_leaf_setclassvariable(
|
|
2443
2417
|
return
|
2444
2418
|
#line 250 "insns.def"
|
2445
2419
|
false;
|
2446
|
-
#line
|
2420
|
+
#line 2421 "insns_info.inc"
|
2447
2421
|
}
|
2448
2422
|
|
2449
2423
|
/* attr const char* name @ setclassvariable(id, ic)(val)() */
|
@@ -2527,7 +2501,7 @@ attr_leaf_opt_getconstant_path(MAYBE_UNUSED(IC ic))
|
|
2527
2501
|
return
|
2528
2502
|
#line 261 "insns.def"
|
2529
2503
|
false;
|
2530
|
-
#line
|
2504
|
+
#line 2505 "insns_info.inc"
|
2531
2505
|
}
|
2532
2506
|
|
2533
2507
|
/* attr const char* name @ opt_getconstant_path(ic)()(val) */
|
@@ -2593,7 +2567,7 @@ attr_leaf_getconstant(MAYBE_UNUSED(ID id))
|
|
2593
2567
|
return
|
2594
2568
|
#line 289 "insns.def"
|
2595
2569
|
false;
|
2596
|
-
#line
|
2570
|
+
#line 2571 "insns_info.inc"
|
2597
2571
|
}
|
2598
2572
|
|
2599
2573
|
/* attr const char* name @ getconstant(id)(klass, allow_nil)(val) */
|
@@ -2659,7 +2633,7 @@ attr_leaf_setconstant(MAYBE_UNUSED(ID id))
|
|
2659
2633
|
return
|
2660
2634
|
#line 305 "insns.def"
|
2661
2635
|
false;
|
2662
|
-
#line
|
2636
|
+
#line 2637 "insns_info.inc"
|
2663
2637
|
}
|
2664
2638
|
|
2665
2639
|
/* attr const char* name @ setconstant(id)(val, cbase)() */
|
@@ -2725,7 +2699,7 @@ attr_leaf_getglobal(MAYBE_UNUSED(ID gid))
|
|
2725
2699
|
return
|
2726
2700
|
#line 318 "insns.def"
|
2727
2701
|
false;
|
2728
|
-
#line
|
2702
|
+
#line 2703 "insns_info.inc"
|
2729
2703
|
}
|
2730
2704
|
|
2731
2705
|
/* attr const char* name @ getglobal(gid)()(val) */
|
@@ -2791,7 +2765,7 @@ attr_leaf_setglobal(MAYBE_UNUSED(ID gid))
|
|
2791
2765
|
return
|
2792
2766
|
#line 329 "insns.def"
|
2793
2767
|
false;
|
2794
|
-
#line
|
2768
|
+
#line 2769 "insns_info.inc"
|
2795
2769
|
}
|
2796
2770
|
|
2797
2771
|
/* attr const char* name @ setglobal(gid)(val)() */
|
@@ -3046,7 +3020,7 @@ attr_leaf_putspecialobject(MAYBE_UNUSED(rb_num_t value_type))
|
|
3046
3020
|
return
|
3047
3021
|
#line 376 "insns.def"
|
3048
3022
|
(value_type == VM_SPECIAL_OBJECT_VMCORE);
|
3049
|
-
#line
|
3023
|
+
#line 3024 "insns_info.inc"
|
3050
3024
|
}
|
3051
3025
|
|
3052
3026
|
/* attr const char* name @ putspecialobject(value_type)()(val) */
|
@@ -3175,7 +3149,7 @@ attr_leaf_concatstrings(MAYBE_UNUSED(rb_num_t num))
|
|
3175
3149
|
return
|
3176
3150
|
#line 402 "insns.def"
|
3177
3151
|
false;
|
3178
|
-
#line
|
3152
|
+
#line 3153 "insns_info.inc"
|
3179
3153
|
}
|
3180
3154
|
|
3181
3155
|
/* attr const char* name @ concatstrings(num)(...)(val) */
|
@@ -3213,7 +3187,7 @@ attr_sp_inc_concatstrings(MAYBE_UNUSED(rb_num_t num))
|
|
3213
3187
|
return
|
3214
3188
|
#line 403 "insns.def"
|
3215
3189
|
1 - (rb_snum_t)num;
|
3216
|
-
#line
|
3190
|
+
#line 3191 "insns_info.inc"
|
3217
3191
|
}
|
3218
3192
|
|
3219
3193
|
/* attr rb_num_t width @ concatstrings(num)(...)(val) */
|
@@ -3316,7 +3290,7 @@ attr_leaf_toregexp(
|
|
3316
3290
|
return
|
3317
3291
|
#line 429 "insns.def"
|
3318
3292
|
false;
|
3319
|
-
#line
|
3293
|
+
#line 3294 "insns_info.inc"
|
3320
3294
|
}
|
3321
3295
|
|
3322
3296
|
/* attr const char* name @ toregexp(opt, cnt)(...)(val) */
|
@@ -3369,7 +3343,7 @@ attr_sp_inc_toregexp(
|
|
3369
3343
|
return
|
3370
3344
|
#line 430 "insns.def"
|
3371
3345
|
1 - (rb_snum_t)cnt;
|
3372
|
-
#line
|
3346
|
+
#line 3347 "insns_info.inc"
|
3373
3347
|
}
|
3374
3348
|
|
3375
3349
|
/* attr rb_num_t width @ toregexp(opt, cnt)(...)(val) */
|
@@ -3501,7 +3475,7 @@ attr_sp_inc_newarray(MAYBE_UNUSED(rb_num_t num))
|
|
3501
3475
|
return
|
3502
3476
|
#line 453 "insns.def"
|
3503
3477
|
1 - (rb_snum_t)num;
|
3504
|
-
#line
|
3478
|
+
#line 3479 "insns_info.inc"
|
3505
3479
|
}
|
3506
3480
|
|
3507
3481
|
/* attr rb_num_t width @ newarray(num)(...)(val) */
|
@@ -3567,7 +3541,7 @@ attr_sp_inc_newarraykwsplat(MAYBE_UNUSED(rb_num_t num))
|
|
3567
3541
|
return
|
3568
3542
|
#line 468 "insns.def"
|
3569
3543
|
1 - (rb_snum_t)num;
|
3570
|
-
#line
|
3544
|
+
#line 3545 "insns_info.inc"
|
3571
3545
|
}
|
3572
3546
|
|
3573
3547
|
/* attr rb_num_t width @ newarraykwsplat(num)(...)(val) */
|
@@ -3733,7 +3707,7 @@ attr_leaf_expandarray(
|
|
3733
3707
|
return
|
3734
3708
|
#line 514 "insns.def"
|
3735
3709
|
false;
|
3736
|
-
#line
|
3710
|
+
#line 3711 "insns_info.inc"
|
3737
3711
|
}
|
3738
3712
|
|
3739
3713
|
/* attr const char* name @ expandarray(num, flag)(..., ary)(...) */
|
@@ -3786,7 +3760,7 @@ attr_sp_inc_expandarray(
|
|
3786
3760
|
return
|
3787
3761
|
#line 515 "insns.def"
|
3788
3762
|
(rb_snum_t)num - 1 + (flag & 1 ? 1 : 0);
|
3789
|
-
#line
|
3763
|
+
#line 3764 "insns_info.inc"
|
3790
3764
|
}
|
3791
3765
|
|
3792
3766
|
/* attr rb_num_t width @ expandarray(num, flag)(..., ary)(...) */
|
@@ -3820,7 +3794,7 @@ attr_leaf_concatarray(void)
|
|
3820
3794
|
return
|
3821
3795
|
#line 526 "insns.def"
|
3822
3796
|
false;
|
3823
|
-
#line
|
3797
|
+
#line 3798 "insns_info.inc"
|
3824
3798
|
}
|
3825
3799
|
|
3826
3800
|
/* attr const char* name @ concatarray()(ary1, ary2)(ary) */
|
@@ -3886,7 +3860,7 @@ attr_leaf_splatarray(MAYBE_UNUSED(VALUE flag))
|
|
3886
3860
|
return
|
3887
3861
|
#line 537 "insns.def"
|
3888
3862
|
false;
|
3889
|
-
#line
|
3863
|
+
#line 3864 "insns_info.inc"
|
3890
3864
|
}
|
3891
3865
|
|
3892
3866
|
/* attr const char* name @ splatarray(flag)(ary)(obj) */
|
@@ -3952,7 +3926,7 @@ attr_leaf_newhash(MAYBE_UNUSED(rb_num_t num))
|
|
3952
3926
|
return
|
3953
3927
|
#line 548 "insns.def"
|
3954
3928
|
false;
|
3955
|
-
#line
|
3929
|
+
#line 3930 "insns_info.inc"
|
3956
3930
|
}
|
3957
3931
|
|
3958
3932
|
/* attr const char* name @ newhash(num)(...)(val) */
|
@@ -3990,7 +3964,7 @@ attr_sp_inc_newhash(MAYBE_UNUSED(rb_num_t num))
|
|
3990
3964
|
return
|
3991
3965
|
#line 549 "insns.def"
|
3992
3966
|
1 - (rb_snum_t)num;
|
3993
|
-
#line
|
3967
|
+
#line 3968 "insns_info.inc"
|
3994
3968
|
}
|
3995
3969
|
|
3996
3970
|
/* attr rb_num_t width @ newhash(num)(...)(val) */
|
@@ -4021,7 +3995,7 @@ attr_leaf_newrange(MAYBE_UNUSED(rb_num_t flag))
|
|
4021
3995
|
return
|
4022
3996
|
#line 569 "insns.def"
|
4023
3997
|
false;
|
4024
|
-
#line
|
3998
|
+
#line 3999 "insns_info.inc"
|
4025
3999
|
}
|
4026
4000
|
|
4027
4001
|
/* attr const char* name @ newrange(flag)(low, high)(val) */
|
@@ -4248,7 +4222,7 @@ attr_sp_inc_dupn(MAYBE_UNUSED(rb_num_t n))
|
|
4248
4222
|
return
|
4249
4223
|
#line 605 "insns.def"
|
4250
4224
|
n;
|
4251
|
-
#line
|
4225
|
+
#line 4226 "insns_info.inc"
|
4252
4226
|
}
|
4253
4227
|
|
4254
4228
|
/* attr rb_num_t width @ dupn(n)(...)(...) */
|
@@ -4377,7 +4351,7 @@ attr_sp_inc_opt_reverse(MAYBE_UNUSED(rb_num_t n))
|
|
4377
4351
|
return
|
4378
4352
|
#line 629 "insns.def"
|
4379
4353
|
0;
|
4380
|
-
#line
|
4354
|
+
#line 4355 "insns_info.inc"
|
4381
4355
|
}
|
4382
4356
|
|
4383
4357
|
/* attr rb_num_t width @ opt_reverse(n)(...)(...) */
|
@@ -4443,7 +4417,7 @@ attr_sp_inc_topn(MAYBE_UNUSED(rb_num_t n))
|
|
4443
4417
|
return
|
4444
4418
|
#line 659 "insns.def"
|
4445
4419
|
1;
|
4446
|
-
#line
|
4420
|
+
#line 4421 "insns_info.inc"
|
4447
4421
|
}
|
4448
4422
|
|
4449
4423
|
/* attr rb_num_t width @ topn(n)(...)(val) */
|
@@ -4509,7 +4483,7 @@ attr_sp_inc_setn(MAYBE_UNUSED(rb_num_t n))
|
|
4509
4483
|
return
|
4510
4484
|
#line 670 "insns.def"
|
4511
4485
|
0;
|
4512
|
-
#line
|
4486
|
+
#line 4487 "insns_info.inc"
|
4513
4487
|
}
|
4514
4488
|
|
4515
4489
|
/* attr rb_num_t width @ setn(n)(..., val)(val) */
|
@@ -4575,7 +4549,7 @@ attr_sp_inc_adjuststack(MAYBE_UNUSED(rb_num_t n))
|
|
4575
4549
|
return
|
4576
4550
|
#line 681 "insns.def"
|
4577
4551
|
-(rb_snum_t)n;
|
4578
|
-
#line
|
4552
|
+
#line 4553 "insns_info.inc"
|
4579
4553
|
}
|
4580
4554
|
|
4581
4555
|
/* attr rb_num_t width @ adjuststack(n)(...)(...) */
|
@@ -4618,7 +4592,7 @@ attr_leaf_defined(
|
|
4618
4592
|
return
|
4619
4593
|
#line 696 "insns.def"
|
4620
4594
|
leafness_of_defined(op_type);
|
4621
|
-
#line
|
4595
|
+
#line 4596 "insns_info.inc"
|
4622
4596
|
}
|
4623
4597
|
|
4624
4598
|
/* attr const char* name @ defined(op_type, obj, pushval)(v)(val) */
|
@@ -4720,7 +4694,7 @@ attr_leaf_definedivar(
|
|
4720
4694
|
return
|
4721
4695
|
#line 710 "insns.def"
|
4722
4696
|
false;
|
4723
|
-
#line
|
4697
|
+
#line 4698 "insns_info.inc"
|
4724
4698
|
}
|
4725
4699
|
|
4726
4700
|
/* attr const char* name @ definedivar(id, ic, pushval)()(val) */
|
@@ -4810,7 +4784,7 @@ attr_leaf_checkmatch(MAYBE_UNUSED(rb_num_t flag))
|
|
4810
4784
|
return
|
4811
4785
|
#line 730 "insns.def"
|
4812
4786
|
leafness_of_checkmatch(flag);
|
4813
|
-
#line
|
4787
|
+
#line 4788 "insns_info.inc"
|
4814
4788
|
}
|
4815
4789
|
|
4816
4790
|
/* attr const char* name @ checkmatch(flag)(target, pattern)(result) */
|
@@ -5307,7 +5281,7 @@ attr_comptime_sp_inc_send(
|
|
5307
5281
|
return
|
5308
5282
|
#line 812 "insns.def"
|
5309
5283
|
sp_inc_of_sendish(ci);
|
5310
|
-
#line
|
5284
|
+
#line 5285 "insns_info.inc"
|
5311
5285
|
}
|
5312
5286
|
|
5313
5287
|
/* attr bool handles_sp @ send(cd, blockiseq)(...)(val) */
|
@@ -5380,7 +5354,7 @@ attr_sp_inc_send(
|
|
5380
5354
|
return
|
5381
5355
|
#line 811 "insns.def"
|
5382
5356
|
sp_inc_of_sendish(cd->ci);
|
5383
|
-
#line
|
5357
|
+
#line 5358 "insns_info.inc"
|
5384
5358
|
}
|
5385
5359
|
|
5386
5360
|
/* attr rb_num_t width @ send(cd, blockiseq)(...)(val) */
|
@@ -5407,7 +5381,7 @@ attr_comptime_sp_inc_opt_send_without_block(MAYBE_UNUSED(CALL_INFO ci))
|
|
5407
5381
|
return
|
5408
5382
|
#line 832 "insns.def"
|
5409
5383
|
sp_inc_of_sendish(ci);
|
5410
|
-
#line
|
5384
|
+
#line 5385 "insns_info.inc"
|
5411
5385
|
}
|
5412
5386
|
|
5413
5387
|
/* attr bool handles_sp @ opt_send_without_block(cd)(...)(val) */
|
@@ -5417,7 +5391,7 @@ attr_handles_sp_opt_send_without_block(MAYBE_UNUSED(CALL_DATA cd))
|
|
5417
5391
|
return
|
5418
5392
|
#line 830 "insns.def"
|
5419
5393
|
true;
|
5420
|
-
#line
|
5394
|
+
#line 5395 "insns_info.inc"
|
5421
5395
|
}
|
5422
5396
|
|
5423
5397
|
/* attr bool leaf @ opt_send_without_block(cd)(...)(val) */
|
@@ -5462,7 +5436,7 @@ attr_sp_inc_opt_send_without_block(MAYBE_UNUSED(CALL_DATA cd))
|
|
5462
5436
|
return
|
5463
5437
|
#line 831 "insns.def"
|
5464
5438
|
sp_inc_of_sendish(cd->ci);
|
5465
|
-
#line
|
5439
|
+
#line 5440 "insns_info.inc"
|
5466
5440
|
}
|
5467
5441
|
|
5468
5442
|
/* attr rb_num_t width @ opt_send_without_block(cd)(...)(val) */
|
@@ -5493,7 +5467,7 @@ attr_leaf_objtostring(MAYBE_UNUSED(CALL_DATA cd))
|
|
5493
5467
|
return
|
5494
5468
|
#line 850 "insns.def"
|
5495
5469
|
false;
|
5496
|
-
#line
|
5470
|
+
#line 5471 "insns_info.inc"
|
5497
5471
|
}
|
5498
5472
|
|
5499
5473
|
/* attr const char* name @ objtostring(cd)(recv)(val) */
|
@@ -5801,7 +5775,7 @@ attr_comptime_sp_inc_opt_newarray_send(
|
|
5801
5775
|
return
|
5802
5776
|
#line 912 "insns.def"
|
5803
5777
|
1 - (rb_snum_t)num;
|
5804
|
-
#line
|
5778
|
+
#line 5779 "insns_info.inc"
|
5805
5779
|
}
|
5806
5780
|
|
5807
5781
|
/* attr bool handles_sp @ opt_newarray_send(num, method)(...)(val) */
|
@@ -5824,7 +5798,7 @@ attr_leaf_opt_newarray_send(
|
|
5824
5798
|
return
|
5825
5799
|
#line 910 "insns.def"
|
5826
5800
|
false;
|
5827
|
-
#line
|
5801
|
+
#line 5802 "insns_info.inc"
|
5828
5802
|
}
|
5829
5803
|
|
5830
5804
|
/* attr const char* name @ opt_newarray_send(num, method)(...)(val) */
|
@@ -5877,7 +5851,7 @@ attr_sp_inc_opt_newarray_send(
|
|
5877
5851
|
return
|
5878
5852
|
#line 911 "insns.def"
|
5879
5853
|
1 - (rb_snum_t)num;
|
5880
|
-
#line
|
5854
|
+
#line 5855 "insns_info.inc"
|
5881
5855
|
}
|
5882
5856
|
|
5883
5857
|
/* attr rb_num_t width @ opt_newarray_send(num, method)(...)(val) */
|
@@ -5910,7 +5884,7 @@ attr_comptime_sp_inc_invokesuper(
|
|
5910
5884
|
return
|
5911
5885
|
#line 936 "insns.def"
|
5912
5886
|
sp_inc_of_sendish(ci);
|
5913
|
-
#line
|
5887
|
+
#line 5888 "insns_info.inc"
|
5914
5888
|
}
|
5915
5889
|
|
5916
5890
|
/* attr bool handles_sp @ invokesuper(cd, blockiseq)(...)(val) */
|
@@ -5983,7 +5957,7 @@ attr_sp_inc_invokesuper(
|
|
5983
5957
|
return
|
5984
5958
|
#line 935 "insns.def"
|
5985
5959
|
sp_inc_of_sendish(cd->ci);
|
5986
|
-
#line
|
5960
|
+
#line 5961 "insns_info.inc"
|
5987
5961
|
}
|
5988
5962
|
|
5989
5963
|
/* attr rb_num_t width @ invokesuper(cd, blockiseq)(...)(val) */
|
@@ -6010,7 +5984,7 @@ attr_comptime_sp_inc_invokeblock(MAYBE_UNUSED(CALL_INFO ci))
|
|
6010
5984
|
return
|
6011
5985
|
#line 956 "insns.def"
|
6012
5986
|
sp_inc_of_invokeblock(ci);
|
6013
|
-
#line
|
5987
|
+
#line 5988 "insns_info.inc"
|
6014
5988
|
}
|
6015
5989
|
|
6016
5990
|
/* attr bool handles_sp @ invokeblock(cd)(...)(val) */
|
@@ -6020,7 +5994,7 @@ attr_handles_sp_invokeblock(MAYBE_UNUSED(CALL_DATA cd))
|
|
6020
5994
|
return
|
6021
5995
|
#line 954 "insns.def"
|
6022
5996
|
true;
|
6023
|
-
#line
|
5997
|
+
#line 5998 "insns_info.inc"
|
6024
5998
|
}
|
6025
5999
|
|
6026
6000
|
/* attr bool leaf @ invokeblock(cd)(...)(val) */
|
@@ -6065,7 +6039,7 @@ attr_sp_inc_invokeblock(MAYBE_UNUSED(CALL_DATA cd))
|
|
6065
6039
|
return
|
6066
6040
|
#line 955 "insns.def"
|
6067
6041
|
sp_inc_of_invokeblock(cd->ci);
|
6068
|
-
#line
|
6042
|
+
#line 6043 "insns_info.inc"
|
6069
6043
|
}
|
6070
6044
|
|
6071
6045
|
/* attr rb_num_t width @ invokeblock(cd)(...)(val) */
|
@@ -6089,7 +6063,7 @@ attr_handles_sp_leave(void)
|
|
6089
6063
|
return
|
6090
6064
|
#line 978 "insns.def"
|
6091
6065
|
true;
|
6092
|
-
#line
|
6066
|
+
#line 6067 "insns_info.inc"
|
6093
6067
|
}
|
6094
6068
|
|
6095
6069
|
/* attr bool leaf @ leave()(val)(val) */
|
@@ -6099,7 +6073,7 @@ attr_leaf_leave(void)
|
|
6099
6073
|
return
|
6100
6074
|
#line 977 "insns.def"
|
6101
6075
|
false;
|
6102
|
-
#line
|
6076
|
+
#line 6077 "insns_info.inc"
|
6103
6077
|
}
|
6104
6078
|
|
6105
6079
|
/* attr const char* name @ leave()(val)(val) */
|
@@ -6165,7 +6139,7 @@ attr_leaf_throw(MAYBE_UNUSED(rb_num_t throw_state))
|
|
6165
6139
|
return
|
6166
6140
|
#line 1011 "insns.def"
|
6167
6141
|
false;
|
6168
|
-
#line
|
6142
|
+
#line 6143 "insns_info.inc"
|
6169
6143
|
}
|
6170
6144
|
|
6171
6145
|
/* attr const char* name @ throw(throw_state)(throwobj)(val) */
|
@@ -6231,7 +6205,7 @@ attr_leaf_jump(MAYBE_UNUSED(OFFSET dst))
|
|
6231
6205
|
return
|
6232
6206
|
#line 1029 "insns.def"
|
6233
6207
|
leafness_of_check_ints;
|
6234
|
-
#line
|
6208
|
+
#line 6209 "insns_info.inc"
|
6235
6209
|
}
|
6236
6210
|
|
6237
6211
|
/* attr const char* name @ jump(dst)()() */
|
@@ -6297,7 +6271,7 @@ attr_leaf_branchif(MAYBE_UNUSED(OFFSET dst))
|
|
6297
6271
|
return
|
6298
6272
|
#line 1042 "insns.def"
|
6299
6273
|
leafness_of_check_ints;
|
6300
|
-
#line
|
6274
|
+
#line 6275 "insns_info.inc"
|
6301
6275
|
}
|
6302
6276
|
|
6303
6277
|
/* attr const char* name @ branchif(dst)(val)() */
|
@@ -6363,7 +6337,7 @@ attr_leaf_branchunless(MAYBE_UNUSED(OFFSET dst))
|
|
6363
6337
|
return
|
6364
6338
|
#line 1057 "insns.def"
|
6365
6339
|
leafness_of_check_ints;
|
6366
|
-
#line
|
6340
|
+
#line 6341 "insns_info.inc"
|
6367
6341
|
}
|
6368
6342
|
|
6369
6343
|
/* attr const char* name @ branchunless(dst)(val)() */
|
@@ -6429,7 +6403,7 @@ attr_leaf_branchnil(MAYBE_UNUSED(OFFSET dst))
|
|
6429
6403
|
return
|
6430
6404
|
#line 1072 "insns.def"
|
6431
6405
|
leafness_of_check_ints;
|
6432
|
-
#line
|
6406
|
+
#line 6407 "insns_info.inc"
|
6433
6407
|
}
|
6434
6408
|
|
6435
6409
|
/* attr const char* name @ branchnil(dst)(val)() */
|
@@ -6644,7 +6618,7 @@ attr_sp_inc_opt_case_dispatch(
|
|
6644
6618
|
return
|
6645
6619
|
#line 1100 "insns.def"
|
6646
6620
|
-1;
|
6647
|
-
#line
|
6621
|
+
#line 6622 "insns_info.inc"
|
6648
6622
|
}
|
6649
6623
|
|
6650
6624
|
/* attr rb_num_t width @ opt_case_dispatch(hash, else_offset)(..., key)() */
|
@@ -6867,7 +6841,7 @@ attr_leaf_opt_div(MAYBE_UNUSED(CALL_DATA cd))
|
|
6867
6841
|
return
|
6868
6842
|
#line 1161 "insns.def"
|
6869
6843
|
false;
|
6870
|
-
#line
|
6844
|
+
#line 6845 "insns_info.inc"
|
6871
6845
|
}
|
6872
6846
|
|
6873
6847
|
/* attr const char* name @ opt_div(cd)(recv, obj)(val) */
|
@@ -6933,7 +6907,7 @@ attr_leaf_opt_mod(MAYBE_UNUSED(CALL_DATA cd))
|
|
6933
6907
|
return
|
6934
6908
|
#line 1177 "insns.def"
|
6935
6909
|
false;
|
6936
|
-
#line
|
6910
|
+
#line 6911 "insns_info.inc"
|
6937
6911
|
}
|
6938
6912
|
|
6939
6913
|
/* attr const char* name @ opt_mod(cd)(recv, obj)(val) */
|
@@ -7404,7 +7378,7 @@ attr_leaf_opt_ltlt(MAYBE_UNUSED(CALL_DATA cd))
|
|
7404
7378
|
return
|
7405
7379
|
#line 1279 "insns.def"
|
7406
7380
|
false;
|
7407
|
-
#line
|
7381
|
+
#line 7382 "insns_info.inc"
|
7408
7382
|
}
|
7409
7383
|
|
7410
7384
|
/* attr const char* name @ opt_ltlt(cd)(recv, obj)(val) */
|
@@ -7596,7 +7570,7 @@ attr_leaf_opt_aref(MAYBE_UNUSED(CALL_DATA cd))
|
|
7596
7570
|
return
|
7597
7571
|
#line 1326 "insns.def"
|
7598
7572
|
false;
|
7599
|
-
#line
|
7573
|
+
#line 7574 "insns_info.inc"
|
7600
7574
|
}
|
7601
7575
|
|
7602
7576
|
/* attr const char* name @ opt_aref(cd)(recv, obj)(val) */
|
@@ -7662,7 +7636,7 @@ attr_leaf_opt_aset(MAYBE_UNUSED(CALL_DATA cd))
|
|
7662
7636
|
return
|
7663
7637
|
#line 1343 "insns.def"
|
7664
7638
|
false;
|
7665
|
-
#line
|
7639
|
+
#line 7640 "insns_info.inc"
|
7666
7640
|
}
|
7667
7641
|
|
7668
7642
|
/* attr const char* name @ opt_aset(cd)(recv, obj, set)(val) */
|
@@ -7737,7 +7711,7 @@ attr_leaf_opt_aset_with(
|
|
7737
7711
|
return
|
7738
7712
|
#line 1359 "insns.def"
|
7739
7713
|
false;
|
7740
|
-
#line
|
7714
|
+
#line 7715 "insns_info.inc"
|
7741
7715
|
}
|
7742
7716
|
|
7743
7717
|
/* attr const char* name @ opt_aset_with(key, cd)(recv, val)(val) */
|
@@ -7830,7 +7804,7 @@ attr_leaf_opt_aref_with(
|
|
7830
7804
|
return
|
7831
7805
|
#line 1380 "insns.def"
|
7832
7806
|
false;
|
7833
|
-
#line
|
7807
|
+
#line 7808 "insns_info.inc"
|
7834
7808
|
}
|
7835
7809
|
|
7836
7810
|
/* attr const char* name @ opt_aref_with(key, cd)(recv)(val) */
|
@@ -8229,7 +8203,7 @@ attr_leaf_opt_regexpmatch2(MAYBE_UNUSED(CALL_DATA cd))
|
|
8229
8203
|
return
|
8230
8204
|
#line 1466 "insns.def"
|
8231
8205
|
false;
|
8232
|
-
#line
|
8206
|
+
#line 8207 "insns_info.inc"
|
8233
8207
|
}
|
8234
8208
|
|
8235
8209
|
/* attr const char* name @ opt_regexpmatch2(cd)(obj2, obj1)(val) */
|
@@ -8295,7 +8269,7 @@ attr_leaf_invokebuiltin(MAYBE_UNUSED(RB_BUILTIN bf))
|
|
8295
8269
|
return
|
8296
8270
|
#line 1481 "insns.def"
|
8297
8271
|
false;
|
8298
|
-
#line
|
8272
|
+
#line 8273 "insns_info.inc"
|
8299
8273
|
}
|
8300
8274
|
|
8301
8275
|
/* attr const char* name @ invokebuiltin(bf)(...)(val) */
|
@@ -8333,7 +8307,7 @@ attr_sp_inc_invokebuiltin(MAYBE_UNUSED(RB_BUILTIN bf))
|
|
8333
8307
|
return
|
8334
8308
|
#line 1482 "insns.def"
|
8335
8309
|
1 - bf->argc;
|
8336
|
-
#line
|
8310
|
+
#line 8311 "insns_info.inc"
|
8337
8311
|
}
|
8338
8312
|
|
8339
8313
|
/* attr rb_num_t width @ invokebuiltin(bf)(...)(val) */
|
@@ -8373,7 +8347,7 @@ attr_leaf_opt_invokebuiltin_delegate(
|
|
8373
8347
|
return
|
8374
8348
|
#line 1493 "insns.def"
|
8375
8349
|
false;
|
8376
|
-
#line
|
8350
|
+
#line 8351 "insns_info.inc"
|
8377
8351
|
}
|
8378
8352
|
|
8379
8353
|
/* attr const char* name @ opt_invokebuiltin_delegate(bf, index)()(val) */
|
@@ -8466,7 +8440,7 @@ attr_leaf_opt_invokebuiltin_delegate_leave(
|
|
8466
8440
|
return
|
8467
8441
|
#line 1504 "insns.def"
|
8468
8442
|
false;
|
8469
|
-
#line
|
8443
|
+
#line 8444 "insns_info.inc"
|
8470
8444
|
}
|
8471
8445
|
|
8472
8446
|
/* attr const char* name @ opt_invokebuiltin_delegate_leave(bf, index)()(val) */
|
data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/array.h
RENAMED
@@ -40,8 +40,6 @@ VALUE rb_ary_diff(VALUE ary1, VALUE ary2);
|
|
40
40
|
|
41
41
|
static inline VALUE rb_ary_entry_internal(VALUE ary, long offset);
|
42
42
|
static inline bool ARY_PTR_USING_P(VALUE ary);
|
43
|
-
static inline void RARY_TRANSIENT_SET(VALUE ary);
|
44
|
-
static inline void RARY_TRANSIENT_UNSET(VALUE ary);
|
45
43
|
|
46
44
|
VALUE rb_ary_tmp_new_from_values(VALUE, long, const VALUE *);
|
47
45
|
VALUE rb_check_to_array(VALUE ary);
|
@@ -56,7 +54,7 @@ static inline VALUE
|
|
56
54
|
rb_ary_entry_internal(VALUE ary, long offset)
|
57
55
|
{
|
58
56
|
long len = RARRAY_LEN(ary);
|
59
|
-
const VALUE *ptr =
|
57
|
+
const VALUE *ptr = RARRAY_CONST_PTR(ary);
|
60
58
|
if (len == 0) return Qnil;
|
61
59
|
if (offset < 0) {
|
62
60
|
offset += len;
|
@@ -118,22 +116,6 @@ ARY_SHARED_ROOT_REFCNT(VALUE ary)
|
|
118
116
|
return RARRAY(ary)->as.heap.aux.capa;
|
119
117
|
}
|
120
118
|
|
121
|
-
static inline void
|
122
|
-
RARY_TRANSIENT_SET(VALUE ary)
|
123
|
-
{
|
124
|
-
#if USE_TRANSIENT_HEAP
|
125
|
-
FL_SET_RAW(ary, RARRAY_TRANSIENT_FLAG);
|
126
|
-
#endif
|
127
|
-
}
|
128
|
-
|
129
|
-
static inline void
|
130
|
-
RARY_TRANSIENT_UNSET(VALUE ary)
|
131
|
-
{
|
132
|
-
#if USE_TRANSIENT_HEAP
|
133
|
-
FL_UNSET_RAW(ary, RARRAY_TRANSIENT_FLAG);
|
134
|
-
#endif
|
135
|
-
}
|
136
|
-
|
137
119
|
#undef rb_ary_new_from_args
|
138
120
|
#if RBIMPL_HAS_WARNING("-Wgnu-zero-variadic-macro-arguments")
|
139
121
|
# /* Skip it; clang -pedantic doesn't like the following */
|
@@ -156,7 +138,7 @@ RARRAY_AREF(VALUE ary, long i)
|
|
156
138
|
{
|
157
139
|
RBIMPL_ASSERT_TYPE(ary, RUBY_T_ARRAY);
|
158
140
|
|
159
|
-
return
|
141
|
+
return RARRAY_CONST_PTR(ary)[i];
|
160
142
|
}
|
161
143
|
|
162
144
|
#endif /* INTERNAL_ARRAY_H */
|
data/lib/debase/ruby_core_source/{ruby-3.3.0-preview1 → ruby-3.3.0-preview2}/internal/bits.h
RENAMED
@@ -118,12 +118,16 @@
|
|
118
118
|
MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, FIXNUM_MIN, FIXNUM_MAX)
|
119
119
|
#endif
|
120
120
|
|
121
|
-
#
|
121
|
+
#if defined(MUL_OVERFLOW_P) && defined(USE___BUILTIN_MUL_OVERFLOW_LONG_LONG)
|
122
122
|
# define MUL_OVERFLOW_LONG_LONG_P(a, b) MUL_OVERFLOW_P(a, b)
|
123
|
+
#else
|
124
|
+
# define MUL_OVERFLOW_LONG_LONG_P(a, b) MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, LLONG_MIN, LLONG_MAX)
|
125
|
+
#endif
|
126
|
+
|
127
|
+
#ifdef MUL_OVERFLOW_P
|
123
128
|
# define MUL_OVERFLOW_LONG_P(a, b) MUL_OVERFLOW_P(a, b)
|
124
129
|
# define MUL_OVERFLOW_INT_P(a, b) MUL_OVERFLOW_P(a, b)
|
125
130
|
#else
|
126
|
-
# define MUL_OVERFLOW_LONG_LONG_P(a, b) MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, LLONG_MIN, LLONG_MAX)
|
127
131
|
# define MUL_OVERFLOW_LONG_P(a, b) MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, LONG_MIN, LONG_MAX)
|
128
132
|
# define MUL_OVERFLOW_INT_P(a, b) MUL_OVERFLOW_SIGNED_INTEGER_P(a, b, INT_MIN, INT_MAX)
|
129
133
|
#endif
|