rubinius-compiler 3.17 → 3.18

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: b2b4f5a3bd5203cc42f5d4687caebc1e4caa1623
4
- data.tar.gz: 421bd9c99074d933d3ba62199cf19b03d38640f3
3
+ metadata.gz: 76bbb59115b69488b3bae7ceb87d529e111df085
4
+ data.tar.gz: aaf210886daa34413c4effc21376a9ba8e9edcb6
5
5
  SHA512:
6
- metadata.gz: ee7812010668b9b574dc8c85f570edfb8e248dc84778a930f76b0905591e6e6a7699440766f764d3dc311d71867ff7e3a671059378a2166e6e79bae834a9d0cb
7
- data.tar.gz: df9e31a1f4486704e1f8da881e50d1dd5f617c342684af56a5aafc5155fda8b289bfea5c1dbe8a30450daa6e6d80831b5bc826f39432bea42daa3e086bba80ba
6
+ metadata.gz: 235c64593b20ce224501051550e04d7e708dbc087eddb98f30579d4397a1dfc5e639acdb6631b4406de57fc78b2b1523187f8044ea911e42161a5bc9481b4d7f
7
+ data.tar.gz: a3041a0a90f498b535f3029c1fd27268708ec7a2378b6fa68a79fc223de41bdc1347cb2fa38e028b35668b3b02f41708ae142962615ebca875aa229e4f06597d
@@ -452,16 +452,6 @@ module CodeTools
452
452
  Label.new(self)
453
453
  end
454
454
 
455
- def new_unwind_label
456
- label = Label.new(self, false)
457
- label.place
458
- label
459
- end
460
-
461
- def get_unwind_label
462
- (state && state.unwind_label) || new_unwind_label
463
- end
464
-
465
455
  # Helpers
466
456
 
467
457
  def new_basic_block
@@ -598,219 +588,187 @@ module CodeTools
598
588
  # instructions that can cause stack unwinding
599
589
 
600
590
  def cast_array
601
- uw = get_unwind_label
602
591
  super
603
- unwind uw
592
+ unwind
604
593
  end
605
594
 
606
595
  def cast_for_multi_block_arg
607
- uw = get_unwind_label
608
596
  super
609
- unwind uw
597
+ unwind
610
598
  end
611
599
 
612
600
  def cast_for_single_block_arg
613
- uw = get_unwind_label
614
601
  super
615
- unwind uw
602
+ unwind
616
603
  end
617
604
 
618
605
  def cast_for_splat_block_arg
619
- uw = get_unwind_label
620
606
  super
621
- unwind uw
607
+ unwind
622
608
  end
623
609
 
624
610
  def cast_multi_value
625
- uw = get_unwind_label
626
611
  super
627
- unwind uw
612
+ unwind
628
613
  end
629
614
 
630
615
  def check_frozen
631
- uw = get_unwind_label
632
616
  super
633
- unwind uw
617
+ unwind
634
618
  end
635
619
 
636
620
  def create_block(literal)
637
- uw = get_unwind_label
638
621
  super
639
- unwind uw
622
+ unwind
640
623
  end
641
624
 
642
625
  def ensure_return
643
- uw = get_unwind_label
644
626
  super
645
- unwind uw
627
+ unwind
646
628
  end
647
629
 
648
630
  def find_const(literal)
649
- uw = get_unwind_label
650
631
  super
651
- unwind uw
632
+ unwind
652
633
  end
653
634
 
654
635
  def invoke_primitive(literal, count)
655
- uw = get_unwind_label
656
636
  super
657
- unwind uw
637
+ unwind
658
638
  end
659
639
 
660
640
  def object_to_s(literal)
661
- uw = get_unwind_label
662
641
  super
663
- unwind uw
642
+ unwind
664
643
  end
665
644
 
666
645
  def passed_arg(index)
667
- uw = get_unwind_label
668
646
  super
669
- unwind uw
647
+ unwind
670
648
  end
671
649
 
672
650
  def passed_blockarg(count)
673
- uw = get_unwind_label
674
651
  super
675
- unwind uw
652
+ unwind
676
653
  end
677
654
 
678
655
  def push_block_arg
679
- uw = get_unwind_label
680
656
  super
681
- unwind uw
657
+ unwind
682
658
  end
683
659
 
684
660
  def push_const(literal)
685
- uw = get_unwind_label
686
661
  super
687
- unwind uw
662
+ unwind
688
663
  end
689
664
 
690
665
  def push_ivar(literal)
691
- uw = get_unwind_label
692
666
  super
693
- unwind uw
667
+ unwind
694
668
  end
695
669
 
696
670
  def push_local_depth(depth, index)
697
- uw = get_unwind_label
698
671
  super
699
- unwind uw
672
+ unwind
700
673
  end
701
674
 
702
675
  def push_proc
703
- uw = get_unwind_label
704
676
  super
705
- unwind uw
677
+ unwind
706
678
  end
707
679
 
708
680
  def raise_break
709
- uw = get_unwind_label
710
681
  super
711
- unwind uw
682
+ unwind
712
683
  end
713
684
 
714
685
  def raise_exc
715
- uw = get_unwind_label
716
686
  super
717
- unwind uw
687
+ unwind
718
688
  end
719
689
 
720
690
  def raise_return
721
- uw = get_unwind_label
722
691
  super
723
- unwind uw
692
+ unwind
724
693
  end
725
694
 
726
695
  def reraise
727
- uw = get_unwind_label
728
696
  super
729
- unwind uw
697
+ unwind
730
698
  end
731
699
 
732
700
  def send_method(literal)
733
- uw = get_unwind_label
734
701
  super
735
- unwind uw
702
+ unwind
736
703
  end
737
704
 
738
705
  def send_stack(literal, count)
739
- uw = get_unwind_label
740
706
  super
741
- unwind uw
707
+ unwind
742
708
  end
743
709
 
744
710
  def send_stack_with_block(literal, count)
745
- uw = get_unwind_label
746
711
  super
747
- unwind uw
712
+ unwind
748
713
  end
749
714
 
750
715
  def send_stack_with_splat(literal, count)
751
- uw = get_unwind_label
752
716
  super
753
- unwind uw
717
+ unwind
754
718
  end
755
719
 
756
720
  def send_super_stack_with_block(literal, count)
757
- uw = get_unwind_label
758
721
  super
759
- unwind uw
722
+ unwind
760
723
  end
761
724
 
762
725
  def send_super_stack_with_splat(literal, count)
763
- uw = get_unwind_label
764
726
  super
765
- unwind uw
727
+ unwind
766
728
  end
767
729
 
768
730
  def send_vcall(literal)
769
- uw = get_unwind_label
770
731
  super
771
- unwind uw
732
+ unwind
772
733
  end
773
734
 
774
735
  def set_ivar(literal)
775
- uw = get_unwind_label
776
736
  super
777
- unwind uw
737
+ unwind
778
738
  end
779
739
 
780
740
  def set_local_depth(depth, index)
781
- uw = get_unwind_label
782
741
  super
783
- unwind uw
742
+ unwind
784
743
  end
785
744
 
786
745
  def string_build(count)
787
- uw = get_unwind_label
788
746
  super
789
- unwind uw
747
+ unwind
790
748
  end
791
749
 
792
750
  def string_dup
793
- uw = get_unwind_label
794
751
  super
795
- unwind uw
752
+ unwind
753
+ end
754
+
755
+ def unwind
756
+ super 0
796
757
  end
797
758
 
798
759
  def yield_splat(count)
799
- uw = get_unwind_label
800
760
  super
801
- unwind uw
761
+ unwind
802
762
  end
803
763
 
804
764
  def yield_stack(count)
805
- uw = get_unwind_label
806
765
  super
807
- unwind uw
766
+ unwind
808
767
  end
809
768
 
810
769
  def zsuper(literal)
811
- uw = get_unwind_label
812
770
  super
813
- unwind uw
771
+ unwind
814
772
  end
815
773
  end
816
774
  end
@@ -770,8 +770,6 @@ module CodeTools
770
770
  location = @ip + 1
771
771
  @stream << 93 << arg1
772
772
  @ip += 2
773
- arg1.used_at location
774
- @current_block.add_stack(0, 0)
775
773
  @instruction = 93
776
774
  end
777
775
 
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  class Compiler
3
- VERSION = "3.17"
3
+ VERSION = "3.18"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubinius-compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.17'
4
+ version: '3.18'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai