debase-ruby_core_source 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/debase/ruby_core_source.rb +1 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/addr2line.h +21 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/build_assert/build_assert.h +40 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/check_type/check_type.h +63 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/container_of/container_of.h +142 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/list/list.h +773 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/str/str.h +16 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/constant.h +50 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/dln.h +51 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/encindex.h +67 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/eval_intern.h +325 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/gc.h +114 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/id.h +212 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/id_table.h +30 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/insns.inc +109 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/insns_info.inc +769 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/internal.h +1373 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/iseq.h +181 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/known_errors.inc +746 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/method.h +210 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/node.h +521 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/node_name.inc +208 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/opt_sc.inc +750 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/optinsn.inc +83 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/optunifs.inc +126 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/parse.h +204 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/probes_helper.h +43 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/regenc.h +234 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/regint.h +972 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/regparse.h +363 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/revision.h +1 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/ruby_atomic.h +233 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/siphash.h +48 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/symbol.h +108 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/thread_pthread.h +54 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/thread_win32.h +36 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/timev.h +42 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/transcode_data.h +139 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/version.h +55 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm.inc +3374 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_call_iseq_optimized.inc +212 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_core.h +1216 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_debug.h +37 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_exec.h +182 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_insnhelper.h +246 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_opts.h +57 -0
- data/lib/debase/ruby_core_source/ruby-2.3.0-preview1/vmtc.inc +107 -0
- data/lib/debase/ruby_core_source/version.rb +1 -1
- metadata +49 -3
@@ -0,0 +1,57 @@
|
|
1
|
+
/*-*-c-*-*/
|
2
|
+
/**********************************************************************
|
3
|
+
|
4
|
+
vm_opts.h - VM optimize option
|
5
|
+
|
6
|
+
$Author: ko1 $
|
7
|
+
|
8
|
+
Copyright (C) 2004-2007 Koichi Sasada
|
9
|
+
|
10
|
+
**********************************************************************/
|
11
|
+
|
12
|
+
|
13
|
+
#ifndef RUBY_VM_OPTS_H
|
14
|
+
#define RUBY_VM_OPTS_H
|
15
|
+
|
16
|
+
/* Compile options.
|
17
|
+
* You can change these options at runtime by VM::CompileOption.
|
18
|
+
* Following definitions are default values.
|
19
|
+
*/
|
20
|
+
|
21
|
+
#define OPT_TRACE_INSTRUCTION 1
|
22
|
+
#define OPT_TAILCALL_OPTIMIZATION 0
|
23
|
+
#define OPT_PEEPHOLE_OPTIMIZATION 1
|
24
|
+
#define OPT_SPECIALISED_INSTRUCTION 1
|
25
|
+
#define OPT_INLINE_CONST_CACHE 1
|
26
|
+
#define OPT_FROZEN_STRING_LITERAL 0
|
27
|
+
#define OPT_FROZEN_STRING_LITERAL_DEBUG 0
|
28
|
+
|
29
|
+
/* Build Options.
|
30
|
+
* You can't change these options at runtime.
|
31
|
+
*/
|
32
|
+
|
33
|
+
/* C compiler dependent */
|
34
|
+
#define OPT_DIRECT_THREADED_CODE 1
|
35
|
+
#define OPT_TOKEN_THREADED_CODE 0
|
36
|
+
#define OPT_CALL_THREADED_CODE 0
|
37
|
+
|
38
|
+
/* VM running option */
|
39
|
+
#define OPT_CHECKED_RUN 1
|
40
|
+
#define OPT_INLINE_METHOD_CACHE 1
|
41
|
+
#define OPT_GLOBAL_METHOD_CACHE 1
|
42
|
+
#define OPT_BLOCKINLINING 0
|
43
|
+
|
44
|
+
/* architecture independent, affects generated code */
|
45
|
+
#define OPT_OPERANDS_UNIFICATION 1
|
46
|
+
#define OPT_INSTRUCTIONS_UNIFICATION 0
|
47
|
+
#define OPT_UNIFY_ALL_COMBINATION 0
|
48
|
+
#define OPT_STACK_CACHING 0
|
49
|
+
|
50
|
+
/* misc */
|
51
|
+
#define SUPPORT_JOKE 0
|
52
|
+
|
53
|
+
#ifndef VM_COLLECT_USAGE_DETAILS
|
54
|
+
#define VM_COLLECT_USAGE_DETAILS 0
|
55
|
+
#endif
|
56
|
+
|
57
|
+
#endif /* RUBY_VM_OPTS_H */
|
@@ -0,0 +1,107 @@
|
|
1
|
+
/* -*-c-*- *********************************************************/
|
2
|
+
/*******************************************************************/
|
3
|
+
/*******************************************************************/
|
4
|
+
/**
|
5
|
+
This file is for threaded code.
|
6
|
+
|
7
|
+
----
|
8
|
+
This file is auto generated by insns2vm.rb
|
9
|
+
DO NOT TOUCH!
|
10
|
+
|
11
|
+
If you want to fix something, you must edit 'template/vmtc.inc.tmpl'
|
12
|
+
or insns2vm.rb
|
13
|
+
*/
|
14
|
+
|
15
|
+
static const void *const insns_address_table[] = {
|
16
|
+
LABEL_PTR(nop),
|
17
|
+
LABEL_PTR(getlocal),
|
18
|
+
LABEL_PTR(setlocal),
|
19
|
+
LABEL_PTR(getspecial),
|
20
|
+
LABEL_PTR(setspecial),
|
21
|
+
LABEL_PTR(getinstancevariable),
|
22
|
+
LABEL_PTR(setinstancevariable),
|
23
|
+
LABEL_PTR(getclassvariable),
|
24
|
+
LABEL_PTR(setclassvariable),
|
25
|
+
LABEL_PTR(getconstant),
|
26
|
+
LABEL_PTR(setconstant),
|
27
|
+
LABEL_PTR(getglobal),
|
28
|
+
LABEL_PTR(setglobal),
|
29
|
+
LABEL_PTR(putnil),
|
30
|
+
LABEL_PTR(putself),
|
31
|
+
LABEL_PTR(putobject),
|
32
|
+
LABEL_PTR(putspecialobject),
|
33
|
+
LABEL_PTR(putiseq),
|
34
|
+
LABEL_PTR(putstring),
|
35
|
+
LABEL_PTR(concatstrings),
|
36
|
+
LABEL_PTR(tostring),
|
37
|
+
LABEL_PTR(toregexp),
|
38
|
+
LABEL_PTR(newarray),
|
39
|
+
LABEL_PTR(duparray),
|
40
|
+
LABEL_PTR(expandarray),
|
41
|
+
LABEL_PTR(concatarray),
|
42
|
+
LABEL_PTR(splatarray),
|
43
|
+
LABEL_PTR(newhash),
|
44
|
+
LABEL_PTR(newrange),
|
45
|
+
LABEL_PTR(pop),
|
46
|
+
LABEL_PTR(dup),
|
47
|
+
LABEL_PTR(dupn),
|
48
|
+
LABEL_PTR(swap),
|
49
|
+
LABEL_PTR(reverse),
|
50
|
+
LABEL_PTR(reput),
|
51
|
+
LABEL_PTR(topn),
|
52
|
+
LABEL_PTR(setn),
|
53
|
+
LABEL_PTR(adjuststack),
|
54
|
+
LABEL_PTR(defined),
|
55
|
+
LABEL_PTR(checkmatch),
|
56
|
+
LABEL_PTR(checkkeyword),
|
57
|
+
LABEL_PTR(trace),
|
58
|
+
LABEL_PTR(defineclass),
|
59
|
+
LABEL_PTR(send),
|
60
|
+
LABEL_PTR(opt_str_freeze),
|
61
|
+
LABEL_PTR(opt_send_without_block),
|
62
|
+
LABEL_PTR(invokesuper),
|
63
|
+
LABEL_PTR(invokeblock),
|
64
|
+
LABEL_PTR(leave),
|
65
|
+
LABEL_PTR(throw),
|
66
|
+
LABEL_PTR(jump),
|
67
|
+
LABEL_PTR(branchif),
|
68
|
+
LABEL_PTR(branchunless),
|
69
|
+
LABEL_PTR(branchnil),
|
70
|
+
LABEL_PTR(getinlinecache),
|
71
|
+
LABEL_PTR(setinlinecache),
|
72
|
+
LABEL_PTR(once),
|
73
|
+
LABEL_PTR(opt_case_dispatch),
|
74
|
+
LABEL_PTR(opt_plus),
|
75
|
+
LABEL_PTR(opt_minus),
|
76
|
+
LABEL_PTR(opt_mult),
|
77
|
+
LABEL_PTR(opt_div),
|
78
|
+
LABEL_PTR(opt_mod),
|
79
|
+
LABEL_PTR(opt_eq),
|
80
|
+
LABEL_PTR(opt_neq),
|
81
|
+
LABEL_PTR(opt_lt),
|
82
|
+
LABEL_PTR(opt_le),
|
83
|
+
LABEL_PTR(opt_gt),
|
84
|
+
LABEL_PTR(opt_ge),
|
85
|
+
LABEL_PTR(opt_ltlt),
|
86
|
+
LABEL_PTR(opt_aref),
|
87
|
+
LABEL_PTR(opt_aset),
|
88
|
+
LABEL_PTR(opt_aset_with),
|
89
|
+
LABEL_PTR(opt_aref_with),
|
90
|
+
LABEL_PTR(opt_length),
|
91
|
+
LABEL_PTR(opt_size),
|
92
|
+
LABEL_PTR(opt_empty_p),
|
93
|
+
LABEL_PTR(opt_succ),
|
94
|
+
LABEL_PTR(opt_not),
|
95
|
+
LABEL_PTR(opt_regexpmatch1),
|
96
|
+
LABEL_PTR(opt_regexpmatch2),
|
97
|
+
LABEL_PTR(opt_call_c_function),
|
98
|
+
LABEL_PTR(bitblt),
|
99
|
+
LABEL_PTR(answer),
|
100
|
+
LABEL_PTR(getlocal_OP__WC__0),
|
101
|
+
LABEL_PTR(getlocal_OP__WC__1),
|
102
|
+
LABEL_PTR(setlocal_OP__WC__0),
|
103
|
+
LABEL_PTR(setlocal_OP__WC__1),
|
104
|
+
LABEL_PTR(putobject_OP_INT2FIX_O_0_C_),
|
105
|
+
LABEL_PTR(putobject_OP_INT2FIX_O_1_C_),
|
106
|
+
};
|
107
|
+
|
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.1
|
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-
|
13
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: archive-tar-minitar
|
@@ -1057,6 +1057,52 @@ files:
|
|
1057
1057
|
- lib/debase/ruby_core_source/ruby-2.2.3-p173/vm_insnhelper.h
|
1058
1058
|
- lib/debase/ruby_core_source/ruby-2.2.3-p173/vm_opts.h
|
1059
1059
|
- lib/debase/ruby_core_source/ruby-2.2.3-p173/vmtc.inc
|
1060
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/addr2line.h
|
1061
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/build_assert/build_assert.h
|
1062
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/check_type/check_type.h
|
1063
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/container_of/container_of.h
|
1064
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/list/list.h
|
1065
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/ccan/str/str.h
|
1066
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/constant.h
|
1067
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/dln.h
|
1068
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/encindex.h
|
1069
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/eval_intern.h
|
1070
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/gc.h
|
1071
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/id.h
|
1072
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/id_table.h
|
1073
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/insns.inc
|
1074
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/insns_info.inc
|
1075
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/internal.h
|
1076
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/iseq.h
|
1077
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/known_errors.inc
|
1078
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/method.h
|
1079
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/node.h
|
1080
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/node_name.inc
|
1081
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/opt_sc.inc
|
1082
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/optinsn.inc
|
1083
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/optunifs.inc
|
1084
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/parse.h
|
1085
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/probes_helper.h
|
1086
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/regenc.h
|
1087
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/regint.h
|
1088
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/regparse.h
|
1089
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/revision.h
|
1090
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/ruby_atomic.h
|
1091
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/siphash.h
|
1092
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/symbol.h
|
1093
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/thread_pthread.h
|
1094
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/thread_win32.h
|
1095
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/timev.h
|
1096
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/transcode_data.h
|
1097
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/version.h
|
1098
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm.inc
|
1099
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_call_iseq_optimized.inc
|
1100
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_core.h
|
1101
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_debug.h
|
1102
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_exec.h
|
1103
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_insnhelper.h
|
1104
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/vm_opts.h
|
1105
|
+
- lib/debase/ruby_core_source/ruby-2.3.0-preview1/vmtc.inc
|
1060
1106
|
- lib/debase/ruby_core_source/version.rb
|
1061
1107
|
homepage: http://github.com/os97673/debase-ruby_core_source
|
1062
1108
|
licenses:
|
@@ -1078,7 +1124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1078
1124
|
version: 1.3.6
|
1079
1125
|
requirements: []
|
1080
1126
|
rubyforge_project:
|
1081
|
-
rubygems_version: 2.4.
|
1127
|
+
rubygems_version: 2.4.5.1
|
1082
1128
|
signing_key:
|
1083
1129
|
specification_version: 4
|
1084
1130
|
summary: Provide Ruby core source files
|