rubinius-compiler 3.10 → 3.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8e25cf5b00edecfb2fa3de4def48faf2e639713
|
4
|
+
data.tar.gz: ae202bbb811f2179678e09107fca764ca108c8b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70eae3ed7eb9911927b64d561f05fe29630669658256827cf08dbd3435ef9b5b5330c745edddfe6e0a75a28ab269809333fcfe963f1c1dd99ee85bf6f0f0796d
|
7
|
+
data.tar.gz: 436ea87bfe2e8e7eb146e3496865fbedabccd4898599abf1da9b9d06fa39beabbd4796f2bce344f60f1497f7a1f46f714bb6fdcfe0d1ac516ec4bb196b1e7d7c
|
@@ -595,129 +595,122 @@ module CodeTools
|
|
595
595
|
@instruction = 71
|
596
596
|
end
|
597
597
|
|
598
|
-
def run_exception
|
599
|
-
@stream << 72
|
600
|
-
@ip += 1
|
601
|
-
@current_block.add_stack(0, 0)
|
602
|
-
@instruction = 72
|
603
|
-
end
|
604
|
-
|
605
598
|
def send_method(arg1)
|
606
599
|
arg1 = find_literal(arg1)
|
607
|
-
@stream <<
|
600
|
+
@stream << 72 << arg1
|
608
601
|
@ip += 2
|
609
602
|
@current_block.add_stack(1, 1)
|
610
|
-
@instruction =
|
603
|
+
@instruction = 72
|
611
604
|
end
|
612
605
|
|
613
606
|
def send_stack(arg1, arg2)
|
614
607
|
arg1 = find_literal(arg1)
|
615
608
|
arg2 = Integer(arg2)
|
616
|
-
@stream <<
|
609
|
+
@stream << 73 << arg1 << arg2
|
617
610
|
@ip += 3
|
618
611
|
@current_block.add_stack(arg2+1, 1)
|
619
|
-
@instruction =
|
612
|
+
@instruction = 73
|
620
613
|
end
|
621
614
|
|
622
615
|
def send_stack_with_block(arg1, arg2)
|
623
616
|
arg1 = find_literal(arg1)
|
624
617
|
arg2 = Integer(arg2)
|
625
|
-
@stream <<
|
618
|
+
@stream << 74 << arg1 << arg2
|
626
619
|
@ip += 3
|
627
620
|
@current_block.add_stack(arg2+2, 1)
|
628
|
-
@instruction =
|
621
|
+
@instruction = 74
|
629
622
|
end
|
630
623
|
|
631
624
|
def send_stack_with_splat(arg1, arg2)
|
632
625
|
arg1 = find_literal(arg1)
|
633
626
|
arg2 = Integer(arg2)
|
634
|
-
@stream <<
|
627
|
+
@stream << 75 << arg1 << arg2
|
635
628
|
@ip += 3
|
636
629
|
@current_block.add_stack(arg2+3, 1)
|
637
|
-
@instruction =
|
630
|
+
@instruction = 75
|
638
631
|
end
|
639
632
|
|
640
633
|
def send_super_stack_with_block(arg1, arg2)
|
641
634
|
arg1 = find_literal(arg1)
|
642
635
|
arg2 = Integer(arg2)
|
643
|
-
@stream <<
|
636
|
+
@stream << 76 << arg1 << arg2
|
644
637
|
@ip += 3
|
645
638
|
@current_block.add_stack(arg2+1, 1)
|
646
|
-
@instruction =
|
639
|
+
@instruction = 76
|
647
640
|
end
|
648
641
|
|
649
642
|
def send_super_stack_with_splat(arg1, arg2)
|
650
643
|
arg1 = find_literal(arg1)
|
651
644
|
arg2 = Integer(arg2)
|
652
|
-
@stream <<
|
645
|
+
@stream << 77 << arg1 << arg2
|
653
646
|
@ip += 3
|
654
647
|
@current_block.add_stack(arg2+2, 1)
|
655
|
-
@instruction =
|
648
|
+
@instruction = 77
|
656
649
|
end
|
657
650
|
|
658
651
|
def send_vcall(arg1)
|
659
652
|
arg1 = find_literal(arg1)
|
660
|
-
@stream <<
|
653
|
+
@stream << 78 << arg1
|
661
654
|
@ip += 2
|
662
655
|
@current_block.add_stack(0, 1)
|
663
|
-
@instruction =
|
656
|
+
@instruction = 78
|
664
657
|
end
|
665
658
|
|
666
659
|
def set_call_flags(arg1)
|
667
|
-
@stream <<
|
660
|
+
@stream << 79 << arg1
|
668
661
|
@ip += 2
|
669
662
|
@current_block.add_stack(0, 0)
|
670
|
-
@instruction =
|
663
|
+
@instruction = 79
|
671
664
|
end
|
672
665
|
|
673
666
|
def set_const(arg1)
|
674
667
|
arg1 = find_literal(arg1)
|
675
|
-
@stream <<
|
668
|
+
@stream << 80 << arg1
|
676
669
|
@ip += 2
|
677
670
|
@current_block.add_stack(1, 1)
|
678
|
-
@instruction =
|
671
|
+
@instruction = 80
|
679
672
|
end
|
680
673
|
|
681
674
|
def set_const_at(arg1)
|
682
675
|
arg1 = find_literal(arg1)
|
683
|
-
@stream <<
|
676
|
+
@stream << 81 << arg1
|
684
677
|
@ip += 2
|
685
678
|
@current_block.add_stack(2, 1)
|
686
|
-
@instruction =
|
679
|
+
@instruction = 81
|
687
680
|
end
|
688
681
|
|
689
682
|
def set_ivar(arg1)
|
690
683
|
arg1 = find_literal(arg1)
|
691
|
-
@stream <<
|
684
|
+
@stream << 82 << arg1
|
692
685
|
@ip += 2
|
693
686
|
@current_block.add_stack(1, 1)
|
694
|
-
@instruction =
|
687
|
+
@instruction = 82
|
695
688
|
end
|
696
689
|
|
697
690
|
def set_local(arg1)
|
698
|
-
@stream <<
|
691
|
+
@stream << 83 << arg1
|
699
692
|
@ip += 2
|
700
693
|
@current_block.add_stack(1, 1)
|
701
|
-
@instruction =
|
694
|
+
@instruction = 83
|
702
695
|
end
|
703
696
|
|
704
697
|
def set_local_depth(arg1, arg2)
|
705
|
-
@stream <<
|
698
|
+
@stream << 84 << arg1 << arg2
|
706
699
|
@ip += 3
|
707
700
|
@current_block.add_stack(1, 1)
|
708
|
-
@instruction =
|
701
|
+
@instruction = 84
|
709
702
|
end
|
710
703
|
|
711
704
|
def set_stack_local(arg1)
|
712
|
-
@stream <<
|
705
|
+
@stream << 85 << arg1
|
713
706
|
@ip += 2
|
714
707
|
@current_block.add_stack(1, 1)
|
715
|
-
@instruction =
|
708
|
+
@instruction = 85
|
716
709
|
end
|
717
710
|
|
718
711
|
def setup_unwind(arg1, arg2)
|
719
712
|
location = @ip + 1
|
720
|
-
@stream <<
|
713
|
+
@stream << 86 << arg1 << arg2
|
721
714
|
@ip += 3
|
722
715
|
arg1.used_at location
|
723
716
|
@current_block.add_stack(0, 0)
|
@@ -726,49 +719,56 @@ module CodeTools
|
|
726
719
|
block = new_basic_block
|
727
720
|
@current_block.right = block
|
728
721
|
@current_block = block
|
729
|
-
@instruction =
|
722
|
+
@instruction = 86
|
730
723
|
end
|
731
724
|
|
732
725
|
def shift_array
|
733
|
-
@stream <<
|
726
|
+
@stream << 87
|
734
727
|
@ip += 1
|
735
728
|
@current_block.add_stack(1, 2)
|
736
|
-
@instruction =
|
729
|
+
@instruction = 87
|
737
730
|
end
|
738
731
|
|
739
732
|
def store_my_field(arg1)
|
740
|
-
@stream <<
|
733
|
+
@stream << 88 << arg1
|
741
734
|
@ip += 2
|
742
735
|
@current_block.add_stack(1, 1)
|
743
|
-
@instruction =
|
736
|
+
@instruction = 88
|
744
737
|
end
|
745
738
|
|
746
739
|
def string_append
|
747
|
-
@stream <<
|
740
|
+
@stream << 89
|
748
741
|
@ip += 1
|
749
742
|
@current_block.add_stack(2, 1)
|
750
|
-
@instruction =
|
743
|
+
@instruction = 89
|
751
744
|
end
|
752
745
|
|
753
746
|
def string_build(arg1)
|
754
747
|
arg1 = Integer(arg1)
|
755
|
-
@stream <<
|
748
|
+
@stream << 90 << arg1
|
756
749
|
@ip += 2
|
757
750
|
@current_block.add_stack(arg1, 1)
|
758
|
-
@instruction =
|
751
|
+
@instruction = 90
|
759
752
|
end
|
760
753
|
|
761
754
|
def string_dup
|
762
|
-
@stream <<
|
755
|
+
@stream << 91
|
763
756
|
@ip += 1
|
764
757
|
@current_block.add_stack(1, 1)
|
765
|
-
@instruction =
|
758
|
+
@instruction = 91
|
766
759
|
end
|
767
760
|
|
768
761
|
def swap
|
769
|
-
@stream <<
|
762
|
+
@stream << 92
|
770
763
|
@ip += 1
|
771
764
|
@current_block.add_stack(2, 2)
|
765
|
+
@instruction = 92
|
766
|
+
end
|
767
|
+
|
768
|
+
def unwind(arg1, arg2, arg3)
|
769
|
+
@stream << 93 << arg1 << arg2 << arg3
|
770
|
+
@ip += 4
|
771
|
+
@current_block.add_stack(0, 0)
|
772
772
|
@instruction = 93
|
773
773
|
end
|
774
774
|
|
@@ -77,28 +77,28 @@ module Rubinius
|
|
77
77
|
opcode 69, :restore_exception_state, :stack => [1, 0], :args => [], :control_flow => :next
|
78
78
|
opcode 70, :ret, :stack => [1, 1], :args => [], :control_flow => :return
|
79
79
|
opcode 71, :rotate, :stack => [[0,1], [0, 1, 1]],:args => [:count], :control_flow => :next
|
80
|
-
opcode 72, :
|
81
|
-
opcode 73, :
|
82
|
-
opcode 74, :
|
83
|
-
opcode 75, :
|
84
|
-
opcode 76, :
|
85
|
-
opcode 77, :
|
86
|
-
opcode 78, :
|
87
|
-
opcode 79, :
|
88
|
-
opcode 80, :
|
89
|
-
opcode 81, :
|
90
|
-
opcode 82, :
|
91
|
-
opcode 83, :
|
92
|
-
opcode 84, :
|
93
|
-
opcode 85, :
|
94
|
-
opcode 86, :
|
95
|
-
opcode 87, :
|
96
|
-
opcode 88, :
|
97
|
-
opcode 89, :
|
98
|
-
opcode 90, :
|
99
|
-
opcode 91, :
|
100
|
-
opcode 92, :
|
101
|
-
opcode 93, :
|
80
|
+
opcode 72, :send_method, :stack => [1, 1], :args => [:literal], :control_flow => :send
|
81
|
+
opcode 73, :send_stack, :stack => [[1,2], 1], :args => [:literal, :count], :control_flow => :send
|
82
|
+
opcode 74, :send_stack_with_block, :stack => [[2,2], 1], :args => [:literal, :count], :control_flow => :send
|
83
|
+
opcode 75, :send_stack_with_splat, :stack => [[3,2], 1], :args => [:literal, :count], :control_flow => :send
|
84
|
+
opcode 76, :send_super_stack_with_block, :stack => [[1,2], 1], :args => [:literal, :count], :control_flow => :send
|
85
|
+
opcode 77, :send_super_stack_with_splat, :stack => [[2,2], 1], :args => [:literal, :count], :control_flow => :send
|
86
|
+
opcode 78, :send_vcall, :stack => [0, 1], :args => [:literal], :control_flow => :send
|
87
|
+
opcode 79, :set_call_flags, :stack => [0, 0], :args => [:flags], :control_flow => :next
|
88
|
+
opcode 80, :set_const, :stack => [1, 1], :args => [:literal], :control_flow => :next
|
89
|
+
opcode 81, :set_const_at, :stack => [2, 1], :args => [:literal], :control_flow => :next
|
90
|
+
opcode 82, :set_ivar, :stack => [1, 1], :args => [:literal], :control_flow => :next
|
91
|
+
opcode 83, :set_local, :stack => [1, 1], :args => [:local], :control_flow => :next
|
92
|
+
opcode 84, :set_local_depth, :stack => [1, 1], :args => [:depth, :index], :control_flow => :next
|
93
|
+
opcode 85, :set_stack_local, :stack => [1, 1], :args => [:which], :control_flow => :next
|
94
|
+
opcode 86, :setup_unwind, :stack => [0, 0], :args => [:ip, :type], :control_flow => :handler
|
95
|
+
opcode 87, :shift_array, :stack => [1, 2], :args => [], :control_flow => :next
|
96
|
+
opcode 88, :store_my_field, :stack => [1, 1], :args => [:index], :control_flow => :next
|
97
|
+
opcode 89, :string_append, :stack => [2, 1], :args => [], :control_flow => :next
|
98
|
+
opcode 90, :string_build, :stack => [[0,1], 1], :args => [:count], :control_flow => :next
|
99
|
+
opcode 91, :string_dup, :stack => [1, 1], :args => [], :control_flow => :next
|
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
|
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
|
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.
|
4
|
+
version: '3.11'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|