rubinius-compiler 3.11 → 3.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8e25cf5b00edecfb2fa3de4def48faf2e639713
4
- data.tar.gz: ae202bbb811f2179678e09107fca764ca108c8b0
3
+ metadata.gz: d82d23b21111ee5ad2695fbc87cdf2b753db1020
4
+ data.tar.gz: 54d6ac1e6209ca74b118b4e1cc0de6444e69529d
5
5
  SHA512:
6
- metadata.gz: 70eae3ed7eb9911927b64d561f05fe29630669658256827cf08dbd3435ef9b5b5330c745edddfe6e0a75a28ab269809333fcfe963f1c1dd99ee85bf6f0f0796d
7
- data.tar.gz: 436ea87bfe2e8e7eb146e3496865fbedabccd4898599abf1da9b9d06fa39beabbd4796f2bce344f60f1497f7a1f46f714bb6fdcfe0d1ac516ec4bb196b1e7d7c
6
+ metadata.gz: b2b6e5397f84c8fe26474cd7eec864d08e8e10e4290874b0150868b02975cdc8471310a51dc0010fce33716d5a22c332309a105f8fbbbb6e4e7ed0ec292a247f
7
+ data.tar.gz: 302ede88b2ee07eb13ab3932b08c657fab2dc31c7da866907f37377b354ea9c91c82561a8317de959e92b185f1f319c18b8cc090cb67deefa440a2e44f44aa1c
@@ -765,10 +765,17 @@ module CodeTools
765
765
  @instruction = 92
766
766
  end
767
767
 
768
- def unwind(arg1, arg2, arg3)
769
- @stream << 93 << arg1 << arg2 << arg3
770
- @ip += 4
768
+ def unwind(arg1)
769
+ location = @ip + 1
770
+ @stream << 93 << arg1
771
+ @ip += 2
772
+ arg1.used_at location
771
773
  @current_block.add_stack(0, 0)
774
+ @current_block.left = arg1.basic_block
775
+ @current_block.close
776
+ block = new_basic_block
777
+ @current_block.right = block
778
+ @current_block = block
772
779
  @instruction = 93
773
780
  end
774
781
 
@@ -98,7 +98,7 @@ module Rubinius
98
98
  opcode 90, :string_build, :stack => [[0,1], 1], :args => [:count], :control_flow => :next
99
99
  opcode 91, :string_dup, :stack => [1, 1], :args => [], :control_flow => :next
100
100
  opcode 92, :swap, :stack => [2, 2], :args => [], :control_flow => :next
101
- opcode 93, :unwind, :stack => [0, 0], :args => [:ip,, :stack,, :type], :control_flow => :next
101
+ opcode 93, :unwind, :stack => [0, 0], :args => [:ip], :control_flow => :next
102
102
  opcode 94, :yield_debugger, :stack => [0, 0], :args => [], :control_flow => :next
103
103
  opcode 95, :yield_splat, :stack => [[1,1], 1], :args => [:count], :control_flow => :yield
104
104
  opcode 96, :yield_stack, :stack => [[0,1], 1], :args => [:count], :control_flow => :yield
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  class Compiler
3
- VERSION = "3.11"
3
+ VERSION = "3.12"
4
4
  end
5
5
  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.11'
4
+ version: '3.12'
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-22 00:00:00.000000000 Z
11
+ date: 2017-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler