rubinius-compiler 3.3 → 3.4

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: 93a948461d075b559968a7aef8c56b5868b0649b
4
- data.tar.gz: a4dbf933ea5dc039c3cc134d504b0853c30836b9
3
+ metadata.gz: 0ea25e9dcea5e8273e91b0b4e89245f61880b1d1
4
+ data.tar.gz: eac233216d6fe0442628e04d59e3ff1369503348
5
5
  SHA512:
6
- metadata.gz: 389417395876fd1519340284c66fa31d2b61a0d4da81da01443d954dbf7dee0eeb78327ede10d3af2c33fbddd04338fdcf1fed7894851c1f6130c80210300c4f
7
- data.tar.gz: 12dc2e56b7805bbdf9013b06c1b5a7daaa5f14531f4aa30c395724e3a5febf7a19af6618f4c3684cc618d09c6e653953beec8c9a57704c52efd85ca5f1a83eb1
6
+ metadata.gz: a35adcfd3ae0e98416fa4f0e97fac3a79ffbf867cab0a2cbdcafd2907c26b05d18ec6380851b3e70b58ede1f2f586f7a53b94cfb6a239d89249c592a821e4cbb
7
+ data.tar.gz: 60424d48b680c93a67aa2293977d71bbfc115c3d781f22d360466fbfa35aae353f1b57611dfcc7c8311d1b4089c176a13718f80407eb6b3bc294b0183540bbbb
@@ -268,6 +268,7 @@ module CodeTools
268
268
  @local_names = nil
269
269
  @block_index = nil
270
270
  @keywords = nil
271
+ @kwrest_index = nil
271
272
  @local_count = 0
272
273
 
273
274
  @state = []
@@ -285,7 +286,7 @@ module CodeTools
285
286
  :required_args, :post_args, :total_args, :splat_index,
286
287
  :local_count, :local_names, :primitive, :for_block, :for_module_body,
287
288
  :current_block, :detected_args, :detected_locals,
288
- :block_index, :arity, :keywords
289
+ :block_index, :arity, :keywords, :kwrest_index
289
290
 
290
291
  def execute(node)
291
292
  node.bytecode self
@@ -323,12 +324,14 @@ module CodeTools
323
324
  code.post_args = @post_args
324
325
  code.total_args = @total_args
325
326
  code.splat = @splat_index
326
- code.block_index = @block_index
327
327
  code.arity = @arity
328
328
  code.local_count = @local_count
329
329
  code.local_names = @local_names.to_tuple if @local_names
330
330
  code.keywords = @keywords.to_tuple if @keywords
331
331
 
332
+ code.add_metadata :block_index, @block_index if @block_index
333
+ code.add_metadata :kwrest_index, @kwrest_index if @kwrest_index
334
+
332
335
  code.stack_size = max_stack_size
333
336
  code.file = @file
334
337
  code.name = @name
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  class Compiler
3
- VERSION = "3.3"
3
+ VERSION = "3.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubinius-compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.3'
4
+ version: '3.4'
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-04-09 00:00:00.000000000 Z
11
+ date: 2016-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: bundler
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - "~>"
17
+ - - ~>
17
18
  - !ruby/object:Gem::Version
18
19
  version: '1.3'
19
- name: bundler
20
+ type: :development
20
21
  prerelease: false
21
22
  version_requirements: !ruby/object:Gem::Requirement
22
23
  requirements:
23
- - - "~>"
24
+ - - ~>
24
25
  - !ruby/object:Gem::Version
25
26
  version: '1.3'
26
- type: :development
27
27
  - !ruby/object:Gem::Dependency
28
+ name: rake
28
29
  requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - "~>"
31
+ - - ~>
31
32
  - !ruby/object:Gem::Version
32
33
  version: '10.0'
33
- name: rake
34
+ type: :development
34
35
  prerelease: false
35
36
  version_requirements: !ruby/object:Gem::Requirement
36
37
  requirements:
37
- - - "~>"
38
+ - - ~>
38
39
  - !ruby/object:Gem::Version
39
40
  version: '10.0'
40
- type: :development
41
41
  description: A Bytecode compiler for the Rubinius language platform.
42
42
  email:
43
43
  - brixen@gmail.com
@@ -67,17 +67,17 @@ require_paths:
67
67
  - lib
68
68
  required_ruby_version: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - ">="
70
+ - - '>='
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ">="
75
+ - - '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubyforge_project:
80
- rubygems_version: 2.6.2
80
+ rubygems_version: 2.0.14.1
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: A Bytecode compiler for the Rubinius language platform.