rubinius-ast 3.0 → 3.1

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: 5b7d19223395fa9fa6277aa8acde18e7c947a119
4
- data.tar.gz: 7ae9fbc4b5a0c5863eb607793c85ee0dae5d9919
3
+ metadata.gz: 628468826337b68a743dea494cd5c6907cbf187d
4
+ data.tar.gz: 722a5eedddf1e8d5f36ea15eb492d3801f78686d
5
5
  SHA512:
6
- metadata.gz: 4484812b85b27570f14d3f55f5db02e4332121c3dadca9d560f0d6071d0842b051968a9f225f01d2abaa12b777167a856eca7cb2391d0a9a1c6797538dd25b64
7
- data.tar.gz: 964f7b8cc65fd90438cd8d97193107a2b3062fc9b84380b37c513a7a99fe46a0bd43504e9b979c7d1792190a62feb17a7fb0fe634656ac1c8ea457a77e977a0c
6
+ metadata.gz: 48e412ceba5e0f0f9ab857378252d5b141d20810011cca1e6b95a691f507b347764bad141d152ad3642ec5b4282904437289377ea2671b0ba93cc2ecbba08d9b
7
+ data.tar.gz: 71b73229bce448504d13fa2dbfb733cf7d7a4ee1868b9774d662d35d0f84d3cff3c23986c3e85304f2b12819e4a4bf817d4a448adc7378d520a1d9f323301e9e
@@ -90,12 +90,16 @@ module CodeTools
90
90
  end
91
91
 
92
92
  def bytecode(g)
93
+ g.state.push_block
94
+
93
95
  count = @array.size - 1
94
96
  @array.each_with_index do |x, i|
95
97
  start_ip = g.ip
96
98
  x.bytecode(g)
97
99
  g.pop unless start_ip == g.ip or i == count
98
100
  end
101
+
102
+ g.state.pop_block
99
103
  end
100
104
 
101
105
  def to_sexp
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  module AST
3
- VERSION = "3.0"
3
+ VERSION = "3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubinius-ast
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.0'
4
+ version: '3.1'
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-01-29 00:00:00.000000000 Z
11
+ date: 2016-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
14
+ version_requirements: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
18
  version: '1.3'
20
- prerelease: false
19
+ name: bundler
21
20
  type: :development
22
- version_requirements: !ruby/object:Gem::Requirement
21
+ requirement: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
25
  version: '1.3'
26
+ prerelease: false
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
28
+ version_requirements: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
32
  version: '10.0'
34
- prerelease: false
33
+ name: rake
35
34
  type: :development
36
- version_requirements: !ruby/object:Gem::Requirement
35
+ requirement: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
39
  version: '10.0'
40
+ prerelease: false
41
41
  description: An Abstract Syntax Tree for the Rubinius language platform.
42
42
  email:
43
43
  - brixen@gmail.com