debase-ruby_core_source 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/debase/ruby_core_source.rb +2 -1
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/addr2line.h +21 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/build_assert/build_assert.h +40 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/check_type/check_type.h +63 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/container_of/container_of.h +142 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/list/list.h +635 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/str/str.h +16 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/constant.h +43 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/dln.h +51 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/eval_intern.h +275 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/gc.h +107 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/id.h +210 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/insns.inc +107 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/insns_info.inc +752 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/internal.h +1179 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/iseq.h +158 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/known_errors.inc +746 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/method.h +141 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/node.h +544 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/node_name.inc +212 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/opt_sc.inc +734 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/optinsn.inc +83 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/optunifs.inc +124 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/parse.h +203 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/probes_helper.h +67 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/regenc.h +234 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/regint.h +972 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/regparse.h +363 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/revision.h +1 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/ruby_atomic.h +170 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/siphash.h +48 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/symbol.h +87 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/thread_pthread.h +54 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/thread_win32.h +36 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/timev.h +42 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/transcode_data.h +123 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/version.h +53 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm.inc +3353 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_core.h +1159 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_debug.h +37 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_exec.h +182 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_insnhelper.h +233 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_opts.h +56 -0
- data/lib/debase/ruby_core_source/ruby-2.2.0-rc1/vmtc.inc +105 -0
- data/lib/debase/ruby_core_source/version.rb +1 -1
- metadata +45 -2
@@ -0,0 +1,56 @@
|
|
1
|
+
/*-*-c-*-*/
|
2
|
+
/**********************************************************************
|
3
|
+
|
4
|
+
vm_opts.h - VM optimize option
|
5
|
+
|
6
|
+
$Author: tmm1 $
|
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
|
+
|
27
|
+
|
28
|
+
/* Build Options.
|
29
|
+
* You can't change these options at runtime.
|
30
|
+
*/
|
31
|
+
|
32
|
+
/* C compiler dependent */
|
33
|
+
#define OPT_DIRECT_THREADED_CODE 1
|
34
|
+
#define OPT_TOKEN_THREADED_CODE 0
|
35
|
+
#define OPT_CALL_THREADED_CODE 0
|
36
|
+
|
37
|
+
/* VM running option */
|
38
|
+
#define OPT_CHECKED_RUN 1
|
39
|
+
#define OPT_INLINE_METHOD_CACHE 1
|
40
|
+
#define OPT_GLOBAL_METHOD_CACHE 1
|
41
|
+
#define OPT_BLOCKINLINING 0
|
42
|
+
|
43
|
+
/* architecture independent, affects generated code */
|
44
|
+
#define OPT_OPERANDS_UNIFICATION 1
|
45
|
+
#define OPT_INSTRUCTIONS_UNIFICATION 0
|
46
|
+
#define OPT_UNIFY_ALL_COMBINATION 0
|
47
|
+
#define OPT_STACK_CACHING 0
|
48
|
+
|
49
|
+
/* misc */
|
50
|
+
#define SUPPORT_JOKE 0
|
51
|
+
|
52
|
+
#ifndef VM_COLLECT_USAGE_DETAILS
|
53
|
+
#define VM_COLLECT_USAGE_DETAILS 0
|
54
|
+
#endif
|
55
|
+
|
56
|
+
#endif /* RUBY_VM_OPTS_H */
|
@@ -0,0 +1,105 @@
|
|
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(reput),
|
50
|
+
LABEL_PTR(topn),
|
51
|
+
LABEL_PTR(setn),
|
52
|
+
LABEL_PTR(adjuststack),
|
53
|
+
LABEL_PTR(defined),
|
54
|
+
LABEL_PTR(checkmatch),
|
55
|
+
LABEL_PTR(checkkeyword),
|
56
|
+
LABEL_PTR(trace),
|
57
|
+
LABEL_PTR(defineclass),
|
58
|
+
LABEL_PTR(send),
|
59
|
+
LABEL_PTR(opt_str_freeze),
|
60
|
+
LABEL_PTR(opt_send_without_block),
|
61
|
+
LABEL_PTR(invokesuper),
|
62
|
+
LABEL_PTR(invokeblock),
|
63
|
+
LABEL_PTR(leave),
|
64
|
+
LABEL_PTR(throw),
|
65
|
+
LABEL_PTR(jump),
|
66
|
+
LABEL_PTR(branchif),
|
67
|
+
LABEL_PTR(branchunless),
|
68
|
+
LABEL_PTR(getinlinecache),
|
69
|
+
LABEL_PTR(setinlinecache),
|
70
|
+
LABEL_PTR(once),
|
71
|
+
LABEL_PTR(opt_case_dispatch),
|
72
|
+
LABEL_PTR(opt_plus),
|
73
|
+
LABEL_PTR(opt_minus),
|
74
|
+
LABEL_PTR(opt_mult),
|
75
|
+
LABEL_PTR(opt_div),
|
76
|
+
LABEL_PTR(opt_mod),
|
77
|
+
LABEL_PTR(opt_eq),
|
78
|
+
LABEL_PTR(opt_neq),
|
79
|
+
LABEL_PTR(opt_lt),
|
80
|
+
LABEL_PTR(opt_le),
|
81
|
+
LABEL_PTR(opt_gt),
|
82
|
+
LABEL_PTR(opt_ge),
|
83
|
+
LABEL_PTR(opt_ltlt),
|
84
|
+
LABEL_PTR(opt_aref),
|
85
|
+
LABEL_PTR(opt_aset),
|
86
|
+
LABEL_PTR(opt_aset_with),
|
87
|
+
LABEL_PTR(opt_aref_with),
|
88
|
+
LABEL_PTR(opt_length),
|
89
|
+
LABEL_PTR(opt_size),
|
90
|
+
LABEL_PTR(opt_empty_p),
|
91
|
+
LABEL_PTR(opt_succ),
|
92
|
+
LABEL_PTR(opt_not),
|
93
|
+
LABEL_PTR(opt_regexpmatch1),
|
94
|
+
LABEL_PTR(opt_regexpmatch2),
|
95
|
+
LABEL_PTR(opt_call_c_function),
|
96
|
+
LABEL_PTR(bitblt),
|
97
|
+
LABEL_PTR(answer),
|
98
|
+
LABEL_PTR(getlocal_OP__WC__0),
|
99
|
+
LABEL_PTR(getlocal_OP__WC__1),
|
100
|
+
LABEL_PTR(setlocal_OP__WC__0),
|
101
|
+
LABEL_PTR(setlocal_OP__WC__1),
|
102
|
+
LABEL_PTR(putobject_OP_INT2FIX_O_0_C_),
|
103
|
+
LABEL_PTR(putobject_OP_INT2FIX_O_1_C_),
|
104
|
+
};
|
105
|
+
|
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.7.
|
4
|
+
version: 0.7.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: 2014-12-
|
13
|
+
date: 2014-12-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: archive-tar-minitar
|
@@ -776,6 +776,49 @@ files:
|
|
776
776
|
- lib/debase/ruby_core_source/ruby-2.2.0-preview2/vm_insnhelper.h
|
777
777
|
- lib/debase/ruby_core_source/ruby-2.2.0-preview2/vm_opts.h
|
778
778
|
- lib/debase/ruby_core_source/ruby-2.2.0-preview2/vmtc.inc
|
779
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/addr2line.h
|
780
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/build_assert/build_assert.h
|
781
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/check_type/check_type.h
|
782
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/container_of/container_of.h
|
783
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/list/list.h
|
784
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/ccan/str/str.h
|
785
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/constant.h
|
786
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/dln.h
|
787
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/eval_intern.h
|
788
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/gc.h
|
789
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/id.h
|
790
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/insns.inc
|
791
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/insns_info.inc
|
792
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/internal.h
|
793
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/iseq.h
|
794
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/known_errors.inc
|
795
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/method.h
|
796
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/node.h
|
797
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/node_name.inc
|
798
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/opt_sc.inc
|
799
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/optinsn.inc
|
800
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/optunifs.inc
|
801
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/parse.h
|
802
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/probes_helper.h
|
803
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/regenc.h
|
804
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/regint.h
|
805
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/regparse.h
|
806
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/revision.h
|
807
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/ruby_atomic.h
|
808
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/siphash.h
|
809
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/symbol.h
|
810
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/thread_pthread.h
|
811
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/thread_win32.h
|
812
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/timev.h
|
813
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/transcode_data.h
|
814
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/version.h
|
815
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm.inc
|
816
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_core.h
|
817
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_debug.h
|
818
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_exec.h
|
819
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_insnhelper.h
|
820
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/vm_opts.h
|
821
|
+
- lib/debase/ruby_core_source/ruby-2.2.0-rc1/vmtc.inc
|
779
822
|
- lib/debase/ruby_core_source/version.rb
|
780
823
|
homepage: http://github.com/os97673/debase-ruby_core_source
|
781
824
|
licenses:
|