rubinius-compiler 3.15 → 3.16

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: 14fb5aa011b9baeb8a41e82fd7f9b096b2afd4c5
4
- data.tar.gz: 0f53955d175a4241417c3a28cce5af21baa5be1c
3
+ metadata.gz: 0c6300bd7b474e79057b58b6a31a650d7aafcc93
4
+ data.tar.gz: 36251ec9562388e72869caba8ddc5e4c95130c8a
5
5
  SHA512:
6
- metadata.gz: 702277fb73850bb8f64cf78a28c3c3dfcc23ffb5212449ce80e85ba98057ec143ab16a8e4fa302dffb78bfdd0ef687ddb279006f373b95919006d105960e3199
7
- data.tar.gz: 2dead8cd50cac1e52a33dc0e322fbe1100066e1e9b329ab9b5ee1cbd44d65730daed9a8ab9dec54fe64699eec30387572fc1d1540d23bc238c57a07a7e427308
6
+ metadata.gz: 708331b03f6de2ff94b6f29630281b3568575f689eec5a5952eff41355b32bd5cc65488f530618605ca0b8c78fb5e4ba9f4dd23e2657ef5d88ce19a51ca14d40
7
+ data.tar.gz: f96d02349e4dde67b51096cb258c695ab5014e64f246fb16651d26e7b64960cf1cff72d88cccd3282b43d42852adcab27971978cc67f641f1340bcf7e191a9b4
@@ -522,11 +522,27 @@ module CodeTools
522
522
  @detected_args = @detected_locals
523
523
  end
524
524
 
525
+ def push_local(index)
526
+ if @detected_locals <= index
527
+ @detected_locals = index + 1
528
+ end
529
+
530
+ super
531
+ end
532
+
525
533
  def set_arg(idx)
526
534
  set_local(idx)
527
535
  @detected_args = @detected_locals
528
536
  end
529
537
 
538
+ def set_local(index)
539
+ if @detected_locals <= index
540
+ @detected_locals = index + 1
541
+ end
542
+
543
+ super
544
+ end
545
+
530
546
  def last_match(mode, which)
531
547
  push_int Integer(mode)
532
548
  push_int Integer(which)
@@ -673,16 +689,6 @@ module CodeTools
673
689
  unwind uw
674
690
  end
675
691
 
676
- def push_local(index)
677
- if @detected_locals <= index
678
- @detected_locals = index + 1
679
- end
680
-
681
- uw = get_unwind_label
682
- super
683
- unwind uw
684
- end
685
-
686
692
  def push_local_depth(depth, index)
687
693
  uw = get_unwind_label
688
694
  super
@@ -767,16 +773,6 @@ module CodeTools
767
773
  unwind uw
768
774
  end
769
775
 
770
- def set_local(index)
771
- if @detected_locals <= index
772
- @detected_locals = index + 1
773
- end
774
-
775
- uw = get_unwind_label
776
- super
777
- unwind uw
778
- end
779
-
780
776
  def set_local_depth(depth, index)
781
777
  uw = get_unwind_label
782
778
  super
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  class Compiler
3
- VERSION = "3.15"
3
+ VERSION = "3.16"
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.15'
4
+ version: '3.16'
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-09-16 00:00:00.000000000 Z
11
+ date: 2017-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler