rubinius-compiler 3.7 → 3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubinius/code/compiler/opcodes.rb +99 -97
- data/lib/rubinius/code/compiler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a6db3f45a67c6537ba0fb0184ff3fd4863fcfcf
|
4
|
+
data.tar.gz: 6affd2299b73358212599af4b9cef115cdcc2352
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73084cf00e76c2bed253066f6bf777a3a02c3c9e59cbbecf949dfed198263b8bf3e7552ccd65c3b1e2b7f505a0aad4221a15aae2a4dade1cc62db0887ab2130b
|
7
|
+
data.tar.gz: e23d6076eaaf729d45bb83710fae14866f8978fff1cb7d34759c844acc8169819ee00f84c1adaf1e1916dc3ecb0f0e05d27f5e5f54beb89df2f66ce1925ad1a9
|
@@ -2,104 +2,106 @@
|
|
2
2
|
|
3
3
|
module Rubinius
|
4
4
|
class InstructionSet
|
5
|
+
|
5
6
|
CALL_FLAG_CONCAT = 2
|
6
7
|
|
7
|
-
opcode
|
8
|
-
opcode
|
9
|
-
opcode
|
10
|
-
opcode
|
11
|
-
opcode
|
12
|
-
opcode
|
13
|
-
opcode
|
14
|
-
opcode
|
15
|
-
opcode
|
16
|
-
opcode
|
17
|
-
opcode
|
18
|
-
opcode
|
19
|
-
opcode
|
20
|
-
opcode
|
21
|
-
opcode
|
22
|
-
opcode
|
23
|
-
opcode
|
24
|
-
opcode
|
25
|
-
opcode
|
26
|
-
opcode
|
27
|
-
opcode
|
28
|
-
opcode
|
29
|
-
opcode
|
30
|
-
opcode
|
31
|
-
opcode
|
32
|
-
opcode
|
33
|
-
opcode
|
34
|
-
opcode
|
35
|
-
opcode
|
36
|
-
opcode
|
37
|
-
opcode
|
38
|
-
opcode
|
39
|
-
opcode
|
40
|
-
opcode
|
41
|
-
opcode
|
42
|
-
opcode
|
43
|
-
opcode
|
44
|
-
opcode
|
45
|
-
opcode
|
46
|
-
opcode
|
47
|
-
opcode
|
48
|
-
opcode
|
49
|
-
opcode
|
50
|
-
opcode
|
51
|
-
opcode
|
52
|
-
opcode
|
53
|
-
opcode
|
54
|
-
opcode
|
55
|
-
opcode
|
56
|
-
opcode
|
57
|
-
opcode
|
58
|
-
opcode
|
59
|
-
opcode
|
60
|
-
opcode
|
61
|
-
opcode
|
62
|
-
opcode
|
63
|
-
opcode
|
64
|
-
opcode
|
65
|
-
opcode
|
66
|
-
opcode
|
67
|
-
opcode
|
68
|
-
opcode
|
69
|
-
opcode
|
70
|
-
opcode
|
71
|
-
opcode
|
72
|
-
opcode
|
73
|
-
opcode
|
74
|
-
opcode
|
75
|
-
opcode
|
76
|
-
opcode
|
77
|
-
opcode
|
78
|
-
opcode
|
79
|
-
opcode
|
80
|
-
opcode
|
81
|
-
opcode
|
82
|
-
opcode
|
83
|
-
opcode
|
84
|
-
opcode
|
85
|
-
opcode
|
86
|
-
opcode
|
87
|
-
opcode
|
88
|
-
opcode
|
89
|
-
opcode
|
90
|
-
opcode
|
91
|
-
opcode
|
92
|
-
opcode
|
93
|
-
opcode
|
94
|
-
opcode
|
95
|
-
opcode
|
96
|
-
opcode
|
97
|
-
opcode
|
98
|
-
opcode
|
99
|
-
opcode
|
100
|
-
opcode
|
101
|
-
opcode
|
102
|
-
opcode
|
103
|
-
opcode
|
8
|
+
opcode 1, :add_scope, :stack => [1, 0], :args => [], :control_flow => :next
|
9
|
+
opcode 2, :allow_private, :stack => [0, 0], :args => [], :control_flow => :next
|
10
|
+
opcode 3, :cast_array, :stack => [1, 1], :args => [], :control_flow => :next
|
11
|
+
opcode 4, :cast_for_multi_block_arg, :stack => [0, 1], :args => [], :control_flow => :next
|
12
|
+
opcode 5, :cast_for_single_block_arg, :stack => [0, 1], :args => [], :control_flow => :next
|
13
|
+
opcode 6, :cast_for_splat_block_arg, :stack => [0, 1], :args => [], :control_flow => :next
|
14
|
+
opcode 7, :cast_multi_value, :stack => [1, 1], :args => [], :control_flow => :next
|
15
|
+
opcode 8, :check_frozen, :stack => [1, 1], :args => [], :control_flow => :next
|
16
|
+
opcode 9, :check_interrupts, :stack => [0, 0], :args => [], :control_flow => :next
|
17
|
+
opcode 10, :check_serial, :stack => [1, 1], :args => [:literal, :serial], :control_flow => :next
|
18
|
+
opcode 11, :check_serial_private, :stack => [1, 1], :args => [:literal, :serial], :control_flow => :next
|
19
|
+
opcode 12, :clear_exception, :stack => [0, 0], :args => [], :control_flow => :next
|
20
|
+
opcode 13, :create_block, :stack => [0, 1], :args => [:literal], :control_flow => :next
|
21
|
+
opcode 14, :dup, :stack => [1, 2], :args => [], :control_flow => :next
|
22
|
+
opcode 15, :dup_many, :stack => [[0,1], [0, 1, 2]],:args => [:count], :control_flow => :next
|
23
|
+
opcode 16, :ensure_return, :stack => [1, 1], :args => [], :control_flow => :raise
|
24
|
+
opcode 17, :find_const, :stack => [1, 1], :args => [:literal], :control_flow => :next
|
25
|
+
opcode 18, :goto, :stack => [0, 0], :args => [:location], :control_flow => :branch
|
26
|
+
opcode 19, :goto_if_equal, :stack => [2, 0], :args => [:location], :control_flow => :branch
|
27
|
+
opcode 20, :goto_if_false, :stack => [1, 0], :args => [:location], :control_flow => :branch
|
28
|
+
opcode 21, :goto_if_nil, :stack => [1, 0], :args => [:location], :control_flow => :branch
|
29
|
+
opcode 22, :goto_if_not_equal, :stack => [2, 0], :args => [:location], :control_flow => :branch
|
30
|
+
opcode 23, :goto_if_not_nil, :stack => [1, 0], :args => [:location], :control_flow => :branch
|
31
|
+
opcode 24, :goto_if_not_undefined, :stack => [1, 0], :args => [:location], :control_flow => :branch
|
32
|
+
opcode 25, :goto_if_true, :stack => [1, 0], :args => [:location], :control_flow => :branch
|
33
|
+
opcode 26, :goto_if_undefined, :stack => [1, 0], :args => [:location], :control_flow => :branch
|
34
|
+
opcode 27, :instance_of, :stack => [2, 1], :args => [], :control_flow => :next
|
35
|
+
opcode 28, :invoke_primitive, :stack => [[0,2], 1], :args => [:literal, :count], :control_flow => :next
|
36
|
+
opcode 29, :kind_of, :stack => [2, 1], :args => [], :control_flow => :next
|
37
|
+
opcode 30, :make_array, :stack => [[0,1], 1], :args => [:count], :control_flow => :next
|
38
|
+
opcode 31, :move_down, :stack => [[0,1], [0, 1, 1]],:args => [:positions], :control_flow => :next
|
39
|
+
opcode 32, :noop, :stack => [0, 0], :args => [], :control_flow => :next
|
40
|
+
opcode 33, :object_to_s, :stack => [1, 1], :args => [:literal], :control_flow => :send
|
41
|
+
opcode 34, :passed_arg, :stack => [0, 1], :args => [:index], :control_flow => :next
|
42
|
+
opcode 35, :passed_blockarg, :stack => [0, 1], :args => [:count], :control_flow => :next
|
43
|
+
opcode 36, :pop, :stack => [1, 0], :args => [], :control_flow => :next
|
44
|
+
opcode 37, :pop_many, :stack => [[0,1], 0], :args => [:count], :control_flow => :next
|
45
|
+
opcode 38, :pop_unwind, :stack => [0, 0], :args => [], :control_flow => :next
|
46
|
+
opcode 39, :push_block, :stack => [0, 1], :args => [], :control_flow => :next
|
47
|
+
opcode 40, :push_block_arg, :stack => [0, 1], :args => [], :control_flow => :next
|
48
|
+
opcode 41, :push_const, :stack => [0, 1], :args => [:literal], :control_flow => :next
|
49
|
+
opcode 42, :push_cpath_top, :stack => [0, 1], :args => [], :control_flow => :next
|
50
|
+
opcode 43, :push_current_exception, :stack => [0, 1], :args => [], :control_flow => :next
|
51
|
+
opcode 44, :push_exception_state, :stack => [0, 1], :args => [], :control_flow => :next
|
52
|
+
opcode 45, :push_false, :stack => [0, 1], :args => [], :control_flow => :next
|
53
|
+
opcode 46, :push_has_block, :stack => [0, 1], :args => [], :control_flow => :next
|
54
|
+
opcode 47, :push_int, :stack => [0, 1], :args => [:number], :control_flow => :next
|
55
|
+
opcode 48, :push_ivar, :stack => [0, 1], :args => [:literal], :control_flow => :next
|
56
|
+
opcode 49, :push_literal, :stack => [0, 1], :args => [:literal], :control_flow => :next
|
57
|
+
opcode 50, :push_local, :stack => [0, 1], :args => [:local], :control_flow => :next
|
58
|
+
opcode 51, :push_local_depth, :stack => [0, 1], :args => [:depth, :index], :control_flow => :next
|
59
|
+
opcode 52, :push_memo, :stack => [1, 1], :args => [:literal], :control_flow => :next
|
60
|
+
opcode 53, :push_mirror, :stack => [0, 1], :args => [], :control_flow => :next
|
61
|
+
opcode 54, :push_my_field, :stack => [0, 1], :args => [:index], :control_flow => :next
|
62
|
+
opcode 55, :push_my_offset, :stack => [0, 1], :args => [:index], :control_flow => :next
|
63
|
+
opcode 56, :push_nil, :stack => [0, 1], :args => [], :control_flow => :next
|
64
|
+
opcode 57, :push_proc, :stack => [0, 1], :args => [], :control_flow => :next
|
65
|
+
opcode 58, :push_rubinius, :stack => [0, 1], :args => [], :control_flow => :next
|
66
|
+
opcode 59, :push_scope, :stack => [0, 1], :args => [], :control_flow => :next
|
67
|
+
opcode 60, :push_self, :stack => [0, 1], :args => [], :control_flow => :next
|
68
|
+
opcode 61, :push_stack_local, :stack => [0, 1], :args => [:which], :control_flow => :next
|
69
|
+
opcode 62, :push_true, :stack => [0, 1], :args => [], :control_flow => :next
|
70
|
+
opcode 63, :push_type, :stack => [0, 1], :args => [], :control_flow => :next
|
71
|
+
opcode 64, :push_undef, :stack => [0, 1], :args => [], :control_flow => :next
|
72
|
+
opcode 65, :push_variables, :stack => [0, 1], :args => [], :control_flow => :next
|
73
|
+
opcode 66, :raise_break, :stack => [1, 1], :args => [], :control_flow => :raise
|
74
|
+
opcode 67, :raise_exc, :stack => [1, 0], :args => [], :control_flow => :raise
|
75
|
+
opcode 68, :raise_return, :stack => [1, 1], :args => [], :control_flow => :raise
|
76
|
+
opcode 69, :reraise, :stack => [0, 0], :args => [], :control_flow => :raise
|
77
|
+
opcode 70, :restore_exception_state, :stack => [1, 0], :args => [], :control_flow => :next
|
78
|
+
opcode 71, :ret, :stack => [1, 1], :args => [], :control_flow => :return
|
79
|
+
opcode 72, :rotate, :stack => [[0,1], [0, 1, 1]],:args => [:count], :control_flow => :next
|
80
|
+
opcode 73, :run_exception, :stack => [0, 0], :args => [], :control_flow => :next
|
81
|
+
opcode 74, :send_method, :stack => [1, 1], :args => [:literal], :control_flow => :send
|
82
|
+
opcode 75, :send_stack, :stack => [[1,2], 1], :args => [:literal, :count], :control_flow => :send
|
83
|
+
opcode 76, :send_stack_with_block, :stack => [[2,2], 1], :args => [:literal, :count], :control_flow => :send
|
84
|
+
opcode 77, :send_stack_with_splat, :stack => [[3,2], 1], :args => [:literal, :count], :control_flow => :send
|
85
|
+
opcode 78, :send_super_stack_with_block, :stack => [[1,2], 1], :args => [:literal, :count], :control_flow => :send
|
86
|
+
opcode 79, :send_super_stack_with_splat, :stack => [[2,2], 1], :args => [:literal, :count], :control_flow => :send
|
87
|
+
opcode 80, :send_vcall, :stack => [0, 1], :args => [:literal], :control_flow => :send
|
88
|
+
opcode 81, :set_call_flags, :stack => [0, 0], :args => [:flags], :control_flow => :next
|
89
|
+
opcode 82, :set_const, :stack => [1, 1], :args => [:literal], :control_flow => :next
|
90
|
+
opcode 83, :set_const_at, :stack => [2, 1], :args => [:literal], :control_flow => :next
|
91
|
+
opcode 84, :set_ivar, :stack => [1, 1], :args => [:literal], :control_flow => :next
|
92
|
+
opcode 85, :set_local, :stack => [1, 1], :args => [:local], :control_flow => :next
|
93
|
+
opcode 86, :set_local_depth, :stack => [1, 1], :args => [:depth, :index], :control_flow => :next
|
94
|
+
opcode 87, :set_stack_local, :stack => [1, 1], :args => [:which], :control_flow => :next
|
95
|
+
opcode 88, :setup_unwind, :stack => [0, 0], :args => [:ip, :type], :control_flow => :handler
|
96
|
+
opcode 89, :shift_array, :stack => [1, 2], :args => [], :control_flow => :next
|
97
|
+
opcode 90, :store_my_field, :stack => [1, 1], :args => [:index], :control_flow => :next
|
98
|
+
opcode 91, :string_append, :stack => [2, 1], :args => [], :control_flow => :next
|
99
|
+
opcode 92, :string_build, :stack => [[0,1], 1], :args => [:count], :control_flow => :next
|
100
|
+
opcode 93, :string_dup, :stack => [1, 1], :args => [], :control_flow => :next
|
101
|
+
opcode 94, :swap, :stack => [2, 2], :args => [], :control_flow => :next
|
102
|
+
opcode 95, :yield_debugger, :stack => [0, 0], :args => [], :control_flow => :next
|
103
|
+
opcode 96, :yield_splat, :stack => [[1,1], 1], :args => [:count], :control_flow => :yield
|
104
|
+
opcode 97, :yield_stack, :stack => [[0,1], 1], :args => [:count], :control_flow => :yield
|
105
|
+
opcode 98, :zsuper, :stack => [1, 1], :args => [:literal], :control_flow => :next
|
104
106
|
end
|
105
107
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubinius-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '3.
|
4
|
+
version: '3.8'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|