debase-ruby_core_source 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/debase/ruby_core_source.rb +0 -8
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/addr2line.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/ccan/build_assert/build_assert.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/ccan/check_type/check_type.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/ccan/container_of/container_of.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/ccan/list/list.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/ccan/str/str.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/constant.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/dln.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/encindex.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/eval_intern.h +8 -29
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/gc.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/id.h +1 -2
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/id_table.h +0 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-p0/insns.inc +110 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/insns_info.inc +7 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/internal.h +33 -2
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/iseq.h +69 -1
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/known_errors.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/method.h +7 -4
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/node.h +4 -5
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/node_name.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/opt_sc.inc +8 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/optinsn.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/optunifs.inc +1 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/parse.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/probes_helper.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/regenc.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/regint.h +25 -10
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/regparse.h +5 -1
- data/lib/debase/ruby_core_source/ruby-2.3.0-p0/revision.h +1 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/ruby_atomic.h +2 -2
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/siphash.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/symbol.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/thread_pthread.h +2 -2
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/thread_win32.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/timev.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/transcode_data.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/version.h +5 -5
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vm.inc +174 -136
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vm_call_iseq_optimized.inc +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vm_core.h +40 -20
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vm_debug.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vm_exec.h +0 -0
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vm_insnhelper.h +0 -19
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vm_opts.h +2 -2
- data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vmtc.inc +1 -0
- data/lib/debase/ruby_core_source/version.rb +1 -1
- metadata +48 -48
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/insns.inc +0 -109
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/revision.h +0 -1
data/lib/debase/ruby_core_source/{ruby-2.3.0-preview1 → ruby-2.3.0-p0}/vm_call_iseq_optimized.inc
RENAMED
File without changes
|
@@ -257,10 +257,10 @@ struct rb_call_cache {
|
|
257
257
|
#endif
|
258
258
|
|
259
259
|
typedef struct rb_iseq_location_struct {
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
260
|
+
VALUE path;
|
261
|
+
VALUE absolute_path;
|
262
|
+
VALUE base_label;
|
263
|
+
VALUE label;
|
264
264
|
VALUE first_lineno; /* TODO: may be unsigned short */
|
265
265
|
} rb_iseq_location_t;
|
266
266
|
|
@@ -376,7 +376,7 @@ struct rb_iseq_constant_body {
|
|
376
376
|
*/
|
377
377
|
struct rb_call_cache *cc_entries; /* size is ci_size = ci_kw_size */
|
378
378
|
|
379
|
-
|
379
|
+
VALUE mark_ary; /* Array: includes operands which should be GC marked */
|
380
380
|
|
381
381
|
unsigned int local_table_size;
|
382
382
|
unsigned int is_size;
|
@@ -385,26 +385,42 @@ struct rb_iseq_constant_body {
|
|
385
385
|
unsigned int line_info_size;
|
386
386
|
};
|
387
387
|
|
388
|
-
struct rb_iseq_variable_body {
|
389
|
-
const VALUE coverage; /* coverage array */
|
390
|
-
|
391
|
-
rb_num_t flip_cnt;
|
392
|
-
|
393
|
-
/* original iseq, before encoding
|
394
|
-
* used for debug/dump (TODO: union with compile_data) */
|
395
|
-
VALUE *iseq;
|
396
|
-
};
|
397
|
-
|
398
388
|
/* T_IMEMO/iseq */
|
399
389
|
/* typedef rb_iseq_t is in method.h */
|
400
390
|
struct rb_iseq_struct {
|
401
391
|
VALUE flags;
|
402
|
-
|
392
|
+
VALUE reserved1;
|
403
393
|
struct rb_iseq_constant_body *body;
|
404
|
-
|
405
|
-
|
394
|
+
|
395
|
+
union { /* 4, 5 words */
|
396
|
+
struct iseq_compile_data *compile_data; /* used at compile time */
|
397
|
+
|
398
|
+
struct {
|
399
|
+
VALUE obj;
|
400
|
+
int index;
|
401
|
+
} loader;
|
402
|
+
} aux;
|
406
403
|
};
|
407
404
|
|
405
|
+
#ifndef USE_LAZY_LOAD
|
406
|
+
#define USE_LAZY_LOAD 0
|
407
|
+
#endif
|
408
|
+
|
409
|
+
#if USE_LAZY_LOAD
|
410
|
+
const rb_iseq_t *rb_iseq_complete(const rb_iseq_t *iseq);
|
411
|
+
#endif
|
412
|
+
|
413
|
+
static inline const rb_iseq_t *
|
414
|
+
rb_iseq_check(const rb_iseq_t *iseq)
|
415
|
+
{
|
416
|
+
#if USE_LAZY_LOAD
|
417
|
+
if (iseq->body == NULL) {
|
418
|
+
rb_iseq_complete((rb_iseq_t *)iseq);
|
419
|
+
}
|
420
|
+
#endif
|
421
|
+
return iseq;
|
422
|
+
}
|
423
|
+
|
408
424
|
enum ruby_special_exceptions {
|
409
425
|
ruby_error_reenter,
|
410
426
|
ruby_error_nomemory,
|
@@ -555,6 +571,9 @@ typedef struct rb_vm_struct {
|
|
555
571
|
#define SYMBOL_REDEFINED_OP_FLAG (1 << 6)
|
556
572
|
#define TIME_REDEFINED_OP_FLAG (1 << 7)
|
557
573
|
#define REGEXP_REDEFINED_OP_FLAG (1 << 8)
|
574
|
+
#define NIL_REDEFINED_OP_FLAG (1 << 9)
|
575
|
+
#define TRUE_REDEFINED_OP_FLAG (1 << 10)
|
576
|
+
#define FALSE_REDEFINED_OP_FLAG (1 << 11)
|
558
577
|
|
559
578
|
#define BASIC_OP_UNREDEFINED_P(op, klass) (LIKELY((GET_VM()->redefined_flag[(op)]&(klass)) == 0))
|
560
579
|
|
@@ -817,6 +836,8 @@ VALUE rb_iseq_disasm(const rb_iseq_t *iseq);
|
|
817
836
|
int rb_iseq_disasm_insn(VALUE str, const VALUE *iseqval, size_t pos, const rb_iseq_t *iseq, VALUE child);
|
818
837
|
const char *ruby_node_name(int node);
|
819
838
|
|
839
|
+
VALUE rb_iseq_coverage(const rb_iseq_t *iseq);
|
840
|
+
|
820
841
|
RUBY_EXTERN VALUE rb_cISeq;
|
821
842
|
RUBY_EXTERN VALUE rb_cRubyVM;
|
822
843
|
RUBY_EXTERN VALUE rb_cEnv;
|
@@ -967,7 +988,7 @@ rb_block_t *rb_vm_control_frame_block_ptr(const rb_control_frame_t *cfp);
|
|
967
988
|
(!RUBY_VM_VALID_CONTROL_FRAME_P((cfp), RUBY_VM_END_CONTROL_FRAME(th)))
|
968
989
|
|
969
990
|
#define RUBY_VM_IFUNC_P(ptr) (RB_TYPE_P((VALUE)(ptr), T_IMEMO) && imemo_type((VALUE)ptr) == imemo_ifunc)
|
970
|
-
#define RUBY_VM_NORMAL_ISEQ_P(ptr) (RB_TYPE_P((VALUE)(ptr), T_IMEMO) && imemo_type((VALUE)ptr) == imemo_iseq)
|
991
|
+
#define RUBY_VM_NORMAL_ISEQ_P(ptr) (RB_TYPE_P((VALUE)(ptr), T_IMEMO) && imemo_type((VALUE)ptr) == imemo_iseq && rb_iseq_check((rb_iseq_t *)ptr))
|
971
992
|
|
972
993
|
#define RUBY_VM_GET_BLOCK_PTR_IN_CFP(cfp) ((rb_block_t *)(&(cfp)->self))
|
973
994
|
#define RUBY_VM_GET_CFP_FROM_BLOCK_PTR(b) \
|
@@ -1036,7 +1057,6 @@ rb_vm_living_threads_remove(rb_vm_t *vm, rb_thread_t *th)
|
|
1036
1057
|
vm->living_thread_num--;
|
1037
1058
|
}
|
1038
1059
|
|
1039
|
-
int ruby_thread_has_gvl_p(void);
|
1040
1060
|
typedef int rb_backtrace_iter_func(void *, VALUE, int, VALUE);
|
1041
1061
|
rb_control_frame_t *rb_vm_get_ruby_level_next_cfp(const rb_thread_t *th, const rb_control_frame_t *cfp);
|
1042
1062
|
rb_control_frame_t *rb_vm_get_binding_creatable_next_cfp(const rb_thread_t *th, const rb_control_frame_t *cfp);
|
File without changes
|
File without changes
|
@@ -121,25 +121,6 @@ enum vm_regan_acttype {
|
|
121
121
|
/* deal with control flow 2: method/iterator */
|
122
122
|
/**********************************************************/
|
123
123
|
|
124
|
-
#define COPY_CREF_OMOD(c1, c2) do { \
|
125
|
-
CREF_REFINEMENTS_SET(c1, CREF_REFINEMENTS(c2)); \
|
126
|
-
if (!NIL_P(CREF_REFINEMENTS(c2))) { \
|
127
|
-
CREF_OMOD_SHARED_SET(c1); \
|
128
|
-
CREF_OMOD_SHARED_SET(c2); \
|
129
|
-
} \
|
130
|
-
} while (0)
|
131
|
-
|
132
|
-
#define COPY_CREF(c1, c2) do { \
|
133
|
-
rb_cref_t *__tmp_c2 = (c2); \
|
134
|
-
COPY_CREF_OMOD((c1), __tmp_c2); \
|
135
|
-
CREF_CLASS_SET((c1), CREF_CLASS(__tmp_c2));\
|
136
|
-
CREF_SCOPE_VISI_COPY((c1), __tmp_c2);\
|
137
|
-
CREF_NEXT_SET((c1), CREF_NEXT(__tmp_c2));\
|
138
|
-
if (CREF_PUSHED_BY_EVAL(__tmp_c2)) { \
|
139
|
-
CREF_PUSHED_BY_EVAL_SET(c1); \
|
140
|
-
} \
|
141
|
-
} while (0)
|
142
|
-
|
143
124
|
#define CALL_METHOD(calling, ci, cc) do { \
|
144
125
|
VALUE v = (*(cc)->call)(th, GET_CFP(), (calling), (ci), (cc)); \
|
145
126
|
if (v == Qundef) { \
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
vm_opts.h - VM optimize option
|
5
5
|
|
6
|
-
$Author:
|
6
|
+
$Author: nobu $
|
7
7
|
|
8
8
|
Copyright (C) 2004-2007 Koichi Sasada
|
9
9
|
|
@@ -24,7 +24,7 @@
|
|
24
24
|
#define OPT_SPECIALISED_INSTRUCTION 1
|
25
25
|
#define OPT_INLINE_CONST_CACHE 1
|
26
26
|
#define OPT_FROZEN_STRING_LITERAL 0
|
27
|
-
#define
|
27
|
+
#define OPT_DEBUG_FROZEN_STRING_LITERAL 0
|
28
28
|
|
29
29
|
/* Build Options.
|
30
30
|
* You can't change these options at runtime.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debase-ruby_core_source
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Moseley
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-12-
|
13
|
+
date: 2015-12-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: archive-tar-minitar
|
@@ -1179,52 +1179,52 @@ files:
|
|
1179
1179
|
- lib/debase/ruby_core_source/ruby-2.2.4-p230/vm_insnhelper.h
|
1180
1180
|
- lib/debase/ruby_core_source/ruby-2.2.4-p230/vm_opts.h
|
1181
1181
|
- lib/debase/ruby_core_source/ruby-2.2.4-p230/vmtc.inc
|
1182
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1183
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1184
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1185
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1186
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1187
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1188
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1189
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1190
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1191
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1192
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1193
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1194
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1195
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1196
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1197
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1198
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1199
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1200
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1201
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1202
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1203
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1204
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1205
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1206
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1207
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1208
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1209
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1210
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1211
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1212
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1213
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1214
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1215
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1216
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1217
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1218
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1219
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1220
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1221
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1222
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1223
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1224
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1225
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1226
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1227
|
-
- lib/debase/ruby_core_source/ruby-2.3.0-
|
1182
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/addr2line.h
|
1183
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/ccan/build_assert/build_assert.h
|
1184
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/ccan/check_type/check_type.h
|
1185
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/ccan/container_of/container_of.h
|
1186
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/ccan/list/list.h
|
1187
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/ccan/str/str.h
|
1188
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/constant.h
|
1189
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/dln.h
|
1190
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/encindex.h
|
1191
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/eval_intern.h
|
1192
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/gc.h
|
1193
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/id.h
|
1194
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/id_table.h
|
1195
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/insns.inc
|
1196
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/insns_info.inc
|
1197
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/internal.h
|
1198
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/iseq.h
|
1199
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/known_errors.inc
|
1200
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/method.h
|
1201
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/node.h
|
1202
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/node_name.inc
|
1203
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/opt_sc.inc
|
1204
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/optinsn.inc
|
1205
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/optunifs.inc
|
1206
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/parse.h
|
1207
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/probes_helper.h
|
1208
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/regenc.h
|
1209
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/regint.h
|
1210
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/regparse.h
|
1211
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/revision.h
|
1212
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/ruby_atomic.h
|
1213
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/siphash.h
|
1214
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/symbol.h
|
1215
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/thread_pthread.h
|
1216
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/thread_win32.h
|
1217
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/timev.h
|
1218
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/transcode_data.h
|
1219
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/version.h
|
1220
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/vm.inc
|
1221
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/vm_call_iseq_optimized.inc
|
1222
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/vm_core.h
|
1223
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/vm_debug.h
|
1224
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/vm_exec.h
|
1225
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/vm_insnhelper.h
|
1226
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/vm_opts.h
|
1227
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-p0/vmtc.inc
|
1228
1228
|
- lib/debase/ruby_core_source/ruby-2.3.0-preview2/addr2line.h
|
1229
1229
|
- lib/debase/ruby_core_source/ruby-2.3.0-preview2/ccan/build_assert/build_assert.h
|
1230
1230
|
- lib/debase/ruby_core_source/ruby-2.3.0-preview2/ccan/check_type/check_type.h
|
@@ -1,109 +0,0 @@
|
|
1
|
-
/** -*-c-*-
|
2
|
-
This file contains YARV instructions list.
|
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.inc.tmpl'
|
9
|
-
or tool/insns2vm.rb
|
10
|
-
*/
|
11
|
-
|
12
|
-
|
13
|
-
/* BIN : Basic Instruction Name */
|
14
|
-
#define BIN(n) YARVINSN_##n
|
15
|
-
|
16
|
-
enum ruby_vminsn_type {
|
17
|
-
BIN(nop) = 0,
|
18
|
-
BIN(getlocal) = 1,
|
19
|
-
BIN(setlocal) = 2,
|
20
|
-
BIN(getspecial) = 3,
|
21
|
-
BIN(setspecial) = 4,
|
22
|
-
BIN(getinstancevariable) = 5,
|
23
|
-
BIN(setinstancevariable) = 6,
|
24
|
-
BIN(getclassvariable) = 7,
|
25
|
-
BIN(setclassvariable) = 8,
|
26
|
-
BIN(getconstant) = 9,
|
27
|
-
BIN(setconstant) = 10,
|
28
|
-
BIN(getglobal) = 11,
|
29
|
-
BIN(setglobal) = 12,
|
30
|
-
BIN(putnil) = 13,
|
31
|
-
BIN(putself) = 14,
|
32
|
-
BIN(putobject) = 15,
|
33
|
-
BIN(putspecialobject) = 16,
|
34
|
-
BIN(putiseq) = 17,
|
35
|
-
BIN(putstring) = 18,
|
36
|
-
BIN(concatstrings) = 19,
|
37
|
-
BIN(tostring) = 20,
|
38
|
-
BIN(toregexp) = 21,
|
39
|
-
BIN(newarray) = 22,
|
40
|
-
BIN(duparray) = 23,
|
41
|
-
BIN(expandarray) = 24,
|
42
|
-
BIN(concatarray) = 25,
|
43
|
-
BIN(splatarray) = 26,
|
44
|
-
BIN(newhash) = 27,
|
45
|
-
BIN(newrange) = 28,
|
46
|
-
BIN(pop) = 29,
|
47
|
-
BIN(dup) = 30,
|
48
|
-
BIN(dupn) = 31,
|
49
|
-
BIN(swap) = 32,
|
50
|
-
BIN(reverse) = 33,
|
51
|
-
BIN(reput) = 34,
|
52
|
-
BIN(topn) = 35,
|
53
|
-
BIN(setn) = 36,
|
54
|
-
BIN(adjuststack) = 37,
|
55
|
-
BIN(defined) = 38,
|
56
|
-
BIN(checkmatch) = 39,
|
57
|
-
BIN(checkkeyword) = 40,
|
58
|
-
BIN(trace) = 41,
|
59
|
-
BIN(defineclass) = 42,
|
60
|
-
BIN(send) = 43,
|
61
|
-
BIN(opt_str_freeze) = 44,
|
62
|
-
BIN(opt_send_without_block) = 45,
|
63
|
-
BIN(invokesuper) = 46,
|
64
|
-
BIN(invokeblock) = 47,
|
65
|
-
BIN(leave) = 48,
|
66
|
-
BIN(throw) = 49,
|
67
|
-
BIN(jump) = 50,
|
68
|
-
BIN(branchif) = 51,
|
69
|
-
BIN(branchunless) = 52,
|
70
|
-
BIN(branchnil) = 53,
|
71
|
-
BIN(getinlinecache) = 54,
|
72
|
-
BIN(setinlinecache) = 55,
|
73
|
-
BIN(once) = 56,
|
74
|
-
BIN(opt_case_dispatch) = 57,
|
75
|
-
BIN(opt_plus) = 58,
|
76
|
-
BIN(opt_minus) = 59,
|
77
|
-
BIN(opt_mult) = 60,
|
78
|
-
BIN(opt_div) = 61,
|
79
|
-
BIN(opt_mod) = 62,
|
80
|
-
BIN(opt_eq) = 63,
|
81
|
-
BIN(opt_neq) = 64,
|
82
|
-
BIN(opt_lt) = 65,
|
83
|
-
BIN(opt_le) = 66,
|
84
|
-
BIN(opt_gt) = 67,
|
85
|
-
BIN(opt_ge) = 68,
|
86
|
-
BIN(opt_ltlt) = 69,
|
87
|
-
BIN(opt_aref) = 70,
|
88
|
-
BIN(opt_aset) = 71,
|
89
|
-
BIN(opt_aset_with) = 72,
|
90
|
-
BIN(opt_aref_with) = 73,
|
91
|
-
BIN(opt_length) = 74,
|
92
|
-
BIN(opt_size) = 75,
|
93
|
-
BIN(opt_empty_p) = 76,
|
94
|
-
BIN(opt_succ) = 77,
|
95
|
-
BIN(opt_not) = 78,
|
96
|
-
BIN(opt_regexpmatch1) = 79,
|
97
|
-
BIN(opt_regexpmatch2) = 80,
|
98
|
-
BIN(opt_call_c_function) = 81,
|
99
|
-
BIN(bitblt) = 82,
|
100
|
-
BIN(answer) = 83,
|
101
|
-
BIN(getlocal_OP__WC__0) = 84,
|
102
|
-
BIN(getlocal_OP__WC__1) = 85,
|
103
|
-
BIN(setlocal_OP__WC__0) = 86,
|
104
|
-
BIN(setlocal_OP__WC__1) = 87,
|
105
|
-
BIN(putobject_OP_INT2FIX_O_0_C_) = 88,
|
106
|
-
BIN(putobject_OP_INT2FIX_O_1_C_) = 89,
|
107
|
-
VM_INSTRUCTION_SIZE = 90
|
108
|
-
};
|
109
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
#define RUBY_REVISION 52539
|