rubinius-ast 3.14 → 3.15
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/lib/rubinius/code/ast/constants.rb +19 -18
- data/lib/rubinius/code/ast/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: 328973f90732961bbcaa7b54cc1fb38183fb6008
|
|
4
|
+
data.tar.gz: e2df1578fdd7418afc6e61a3a8e3ed4d3d405046
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e079793bc8f5b6324f4030380123515730a73d47b9bdb0e2f46020ed5c4e8225193641ff6d7df9c37ceb6498b856a65769b5622a08e0a15faae1a506a314dce
|
|
7
|
+
data.tar.gz: c89d62825be15d83e4412c87c13faf6cc779d31ff6c5ec47b352e7a2775b1dd295efe47664fee6ec874d8acb573566ee802f6944ea2ff148600373f5baadea66
|
|
@@ -85,17 +85,14 @@ module CodeTools
|
|
|
85
85
|
ok = g.new_label
|
|
86
86
|
g.setup_unwind ex, RescueType
|
|
87
87
|
|
|
88
|
+
g.push_type
|
|
88
89
|
@parent.bytecode(g)
|
|
89
90
|
g.push_literal @name
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
g.invoke_primitive :vm_const_defined_under, 3
|
|
96
|
-
|
|
97
|
-
g.pop_unwind
|
|
98
|
-
g.goto ok
|
|
91
|
+
g.send :constant_path_defined?, 2
|
|
92
|
+
g.dup
|
|
93
|
+
g.goto_if_not_undefined ok
|
|
94
|
+
g.pop
|
|
95
|
+
g.goto f
|
|
99
96
|
|
|
100
97
|
ex.set!
|
|
101
98
|
g.clear_exception
|
|
@@ -171,13 +168,14 @@ module CodeTools
|
|
|
171
168
|
ok = g.new_label
|
|
172
169
|
g.setup_unwind ex, RescueType
|
|
173
170
|
|
|
171
|
+
g.push_type
|
|
174
172
|
g.push_cpath_top
|
|
175
173
|
g.push_literal @name
|
|
176
|
-
g.
|
|
177
|
-
g.
|
|
178
|
-
|
|
179
|
-
g.
|
|
180
|
-
g.goto
|
|
174
|
+
g.send :constant_path_defined?, 2
|
|
175
|
+
g.dup
|
|
176
|
+
g.goto_if_not_undefined ok
|
|
177
|
+
g.pop
|
|
178
|
+
g.goto f
|
|
181
179
|
|
|
182
180
|
ex.set!
|
|
183
181
|
g.clear_exception
|
|
@@ -266,11 +264,14 @@ module CodeTools
|
|
|
266
264
|
ok = g.new_label
|
|
267
265
|
g.setup_unwind ex, RescueType
|
|
268
266
|
|
|
267
|
+
g.push_type
|
|
268
|
+
g.push_scope
|
|
269
269
|
g.push_literal @name
|
|
270
|
-
g.
|
|
271
|
-
|
|
272
|
-
g.
|
|
273
|
-
g.
|
|
270
|
+
g.send :constant_scope_defined?, 2
|
|
271
|
+
g.dup
|
|
272
|
+
g.goto_if_not_undefined ok
|
|
273
|
+
g.pop
|
|
274
|
+
g.goto f
|
|
274
275
|
|
|
275
276
|
ex.set!
|
|
276
277
|
g.clear_exception
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubinius-ast
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '3.
|
|
4
|
+
version: '3.15'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Shirai
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-01-
|
|
11
|
+
date: 2018-01-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|