rubinius-ast 3.9 → 3.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d867b8dbe5184f19f8f332e2e0ca106e6508cbb1
4
- data.tar.gz: 8deb10a4f19850ee6fad3ae64083982a0cdac5d5
3
+ metadata.gz: 3ee816a5d4661377b4236f5421be3765c05abb96
4
+ data.tar.gz: 1aa4e549de20d9d70d5eb5d41e6de7a335805bb3
5
5
  SHA512:
6
- metadata.gz: 61b46cfcebb9444b301f1e80513d510ae891342fefaf9344a6de6f90229fcd7f9682ec76f01ea54c1f4b1c9035f405060a1a12949b239d9cb1e5e899621300d0
7
- data.tar.gz: 3f16067d2677866fefed206f191bf11a205a653b5c94fbcd89fab4e1c901d26af02054a8495e5f6eda7ef755c4e2834ed5f364552cefafcee3ab4740033c280d
6
+ metadata.gz: ef23d3b3aea0c648340c356e46cb0f3f5ad9655391bcbcc72c290a4d1cbf1a5612a51ff19bcf123a900b71488ae3b456c2e6712d41e9e4c4288161a2b220dbcf
7
+ data.tar.gz: 91dab13b14667a61993993b9b68a9b0e7306bdeb986b743602dcf05bdcc12f9aeb52d4533460c630cfc350f01602a97661c99c72b1b9b40a4e76ad336ec32c05
@@ -83,7 +83,6 @@ module CodeTools
83
83
 
84
84
  ex = g.new_label
85
85
  ok = g.new_label
86
- g.state.push_unwind g.new_unwind_label
87
86
  g.setup_unwind ex, RescueType
88
87
 
89
88
  @parent.bytecode(g)
@@ -95,7 +94,6 @@ module CodeTools
95
94
  end
96
95
  g.invoke_primitive :vm_const_defined_under, 3
97
96
 
98
- g.state.pop_unwind
99
97
  g.pop_unwind
100
98
  g.goto ok
101
99
 
@@ -171,7 +169,6 @@ module CodeTools
171
169
 
172
170
  ex = g.new_label
173
171
  ok = g.new_label
174
- g.state.push_unwind g.new_unwind_label
175
172
  g.setup_unwind ex, RescueType
176
173
 
177
174
  g.push_cpath_top
@@ -179,7 +176,6 @@ module CodeTools
179
176
  g.push_false
180
177
  g.invoke_primitive :vm_const_defined_under, 3
181
178
 
182
- g.state.pop_unwind
183
179
  g.pop_unwind
184
180
  g.goto ok
185
181
 
@@ -268,13 +264,11 @@ module CodeTools
268
264
 
269
265
  ex = g.new_label
270
266
  ok = g.new_label
271
- g.state.push_unwind g.new_unwind_label
272
267
  g.setup_unwind ex, RescueType
273
268
 
274
269
  g.push_literal @name
275
270
  g.invoke_primitive :vm_const_defined, 1
276
271
 
277
- g.state.pop_unwind
278
272
  g.pop_unwind
279
273
  g.goto ok
280
274
 
@@ -40,7 +40,6 @@ module CodeTools
40
40
 
41
41
  ok = g.new_label
42
42
  ex = g.new_label
43
- g.state.push_unwind g.new_unwind_label
44
43
  g.setup_unwind ex, EnsureType
45
44
 
46
45
  # TODO: ?
@@ -66,7 +65,6 @@ module CodeTools
66
65
  g.break = old_break
67
66
  g.next = old_next
68
67
 
69
- g.state.pop_unwind
70
68
  g.pop_unwind
71
69
  g.goto ok
72
70
 
@@ -216,7 +214,6 @@ module CodeTools
216
214
 
217
215
  this_retry.set!
218
216
  ex = g.new_label
219
- g.state.push_unwind g.new_unwind_label
220
217
  g.setup_unwind ex, RescueType
221
218
 
222
219
  # TODO: ?
@@ -244,7 +241,6 @@ module CodeTools
244
241
  end
245
242
 
246
243
  @body.bytecode(g)
247
- g.state.pop_unwind
248
244
  g.pop_unwind
249
245
  g.goto els
250
246
 
@@ -285,7 +285,6 @@ module CodeTools
285
285
  @op_asgn = 0
286
286
  @rescue = []
287
287
  @name = []
288
- @unwinds = []
289
288
  @check_for_locals = true
290
289
  end
291
290
 
@@ -404,18 +403,6 @@ module CodeTools
404
403
  def loop?
405
404
  @loop > 0
406
405
  end
407
-
408
- def push_unwind(label)
409
- @unwinds << label
410
- end
411
-
412
- def pop_unwind
413
- @unwinds.pop
414
- end
415
-
416
- def unwind_label
417
- @unwinds.last
418
- end
419
406
  end
420
407
  end
421
408
  end
@@ -50,12 +50,10 @@ module CodeTools
50
50
 
51
51
  ok = g.new_label
52
52
  ex = g.new_label
53
- g.state.push_unwind g.new_unwind_label
54
53
  g.setup_unwind ex, RescueType
55
54
 
56
55
  bytecode(g)
57
56
 
58
- g.state.pop_unwind
59
57
  g.pop_unwind
60
58
  g.goto ok
61
59
 
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  module AST
3
- VERSION = "3.9"
3
+ VERSION = "3.10"
4
4
  end
5
5
  end
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.9'
4
+ version: '3.10'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-28 00:00:00.000000000 Z
11
+ date: 2017-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler