rubinius-compiler 3.14 → 3.15
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 +4 -4
- data/lib/rubinius/code/compiler/generator.rb +103 -33
- data/lib/rubinius/code/compiler/version.rb +1 -1
- metadata +11 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14fb5aa011b9baeb8a41e82fd7f9b096b2afd4c5
|
4
|
+
data.tar.gz: 0f53955d175a4241417c3a28cce5af21baa5be1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 702277fb73850bb8f64cf78a28c3c3dfcc23ffb5212449ce80e85ba98057ec143ab16a8e4fa302dffb78bfdd0ef687ddb279006f373b95919006d105960e3199
|
7
|
+
data.tar.gz: 2dead8cd50cac1e52a33dc0e322fbe1100066e1e9b329ab9b5ee1cbd44d65730daed9a8ab9dec54fe64699eec30387572fc1d1540d23bc238c57a07a7e427308
|
@@ -515,22 +515,6 @@ module CodeTools
|
|
515
515
|
emit_push_literal find_literal(literal)
|
516
516
|
end
|
517
517
|
|
518
|
-
def push_local(idx)
|
519
|
-
if @detected_locals <= idx
|
520
|
-
@detected_locals = idx + 1
|
521
|
-
end
|
522
|
-
|
523
|
-
super
|
524
|
-
end
|
525
|
-
|
526
|
-
def set_local(idx)
|
527
|
-
if @detected_locals <= idx
|
528
|
-
@detected_locals = idx + 1
|
529
|
-
end
|
530
|
-
|
531
|
-
super
|
532
|
-
end
|
533
|
-
|
534
518
|
# Minor meta operations that can be used to detect
|
535
519
|
# the number of method arguments needed
|
536
520
|
def push_arg(idx)
|
@@ -629,37 +613,83 @@ module CodeTools
|
|
629
613
|
unwind uw
|
630
614
|
end
|
631
615
|
|
632
|
-
def create_block(
|
616
|
+
def create_block(literal)
|
617
|
+
uw = get_unwind_label
|
618
|
+
super
|
619
|
+
unwind uw
|
620
|
+
end
|
621
|
+
|
622
|
+
def ensure_return
|
623
|
+
uw = get_unwind_label
|
624
|
+
super
|
625
|
+
unwind uw
|
626
|
+
end
|
627
|
+
|
628
|
+
def find_const(literal)
|
633
629
|
uw = get_unwind_label
|
634
630
|
super
|
635
631
|
unwind uw
|
636
632
|
end
|
637
633
|
|
638
|
-
def
|
634
|
+
def invoke_primitive(literal, count)
|
639
635
|
uw = get_unwind_label
|
640
636
|
super
|
641
637
|
unwind uw
|
642
638
|
end
|
643
639
|
|
644
|
-
def
|
640
|
+
def object_to_s(literal)
|
645
641
|
uw = get_unwind_label
|
646
642
|
super
|
647
643
|
unwind uw
|
648
644
|
end
|
649
645
|
|
650
|
-
def
|
646
|
+
def passed_arg(index)
|
651
647
|
uw = get_unwind_label
|
652
648
|
super
|
653
649
|
unwind uw
|
654
650
|
end
|
655
651
|
|
656
|
-
def
|
652
|
+
def passed_blockarg(count)
|
657
653
|
uw = get_unwind_label
|
658
654
|
super
|
659
655
|
unwind uw
|
660
656
|
end
|
661
657
|
|
662
|
-
def
|
658
|
+
def push_block_arg
|
659
|
+
uw = get_unwind_label
|
660
|
+
super
|
661
|
+
unwind uw
|
662
|
+
end
|
663
|
+
|
664
|
+
def push_const(literal)
|
665
|
+
uw = get_unwind_label
|
666
|
+
super
|
667
|
+
unwind uw
|
668
|
+
end
|
669
|
+
|
670
|
+
def push_ivar(literal)
|
671
|
+
uw = get_unwind_label
|
672
|
+
super
|
673
|
+
unwind uw
|
674
|
+
end
|
675
|
+
|
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
|
+
def push_local_depth(depth, index)
|
687
|
+
uw = get_unwind_label
|
688
|
+
super
|
689
|
+
unwind uw
|
690
|
+
end
|
691
|
+
|
692
|
+
def push_proc
|
663
693
|
uw = get_unwind_label
|
664
694
|
super
|
665
695
|
unwind uw
|
@@ -671,49 +701,89 @@ module CodeTools
|
|
671
701
|
unwind uw
|
672
702
|
end
|
673
703
|
|
674
|
-
def
|
704
|
+
def raise_exc
|
705
|
+
uw = get_unwind_label
|
706
|
+
super
|
707
|
+
unwind uw
|
708
|
+
end
|
709
|
+
|
710
|
+
def raise_return
|
711
|
+
uw = get_unwind_label
|
712
|
+
super
|
713
|
+
unwind uw
|
714
|
+
end
|
715
|
+
|
716
|
+
def reraise
|
675
717
|
uw = get_unwind_label
|
676
718
|
super
|
677
719
|
unwind uw
|
678
720
|
end
|
679
721
|
|
680
|
-
def
|
722
|
+
def send_method(literal)
|
681
723
|
uw = get_unwind_label
|
682
724
|
super
|
683
725
|
unwind uw
|
684
726
|
end
|
685
727
|
|
686
|
-
def
|
728
|
+
def send_stack(literal, count)
|
687
729
|
uw = get_unwind_label
|
688
730
|
super
|
689
731
|
unwind uw
|
690
732
|
end
|
691
733
|
|
692
|
-
def
|
734
|
+
def send_stack_with_block(literal, count)
|
693
735
|
uw = get_unwind_label
|
694
736
|
super
|
695
737
|
unwind uw
|
696
738
|
end
|
697
739
|
|
698
|
-
def
|
740
|
+
def send_stack_with_splat(literal, count)
|
699
741
|
uw = get_unwind_label
|
700
742
|
super
|
701
743
|
unwind uw
|
702
744
|
end
|
703
745
|
|
704
|
-
def
|
746
|
+
def send_super_stack_with_block(literal, count)
|
747
|
+
uw = get_unwind_label
|
748
|
+
super
|
749
|
+
unwind uw
|
750
|
+
end
|
751
|
+
|
752
|
+
def send_super_stack_with_splat(literal, count)
|
753
|
+
uw = get_unwind_label
|
754
|
+
super
|
755
|
+
unwind uw
|
756
|
+
end
|
757
|
+
|
758
|
+
def send_vcall(literal)
|
759
|
+
uw = get_unwind_label
|
760
|
+
super
|
761
|
+
unwind uw
|
762
|
+
end
|
763
|
+
|
764
|
+
def set_ivar(literal)
|
765
|
+
uw = get_unwind_label
|
766
|
+
super
|
767
|
+
unwind uw
|
768
|
+
end
|
769
|
+
|
770
|
+
def set_local(index)
|
771
|
+
if @detected_locals <= index
|
772
|
+
@detected_locals = index + 1
|
773
|
+
end
|
774
|
+
|
705
775
|
uw = get_unwind_label
|
706
776
|
super
|
707
777
|
unwind uw
|
708
778
|
end
|
709
779
|
|
710
|
-
def
|
780
|
+
def set_local_depth(depth, index)
|
711
781
|
uw = get_unwind_label
|
712
782
|
super
|
713
783
|
unwind uw
|
714
784
|
end
|
715
785
|
|
716
|
-
def string_build(
|
786
|
+
def string_build(count)
|
717
787
|
uw = get_unwind_label
|
718
788
|
super
|
719
789
|
unwind uw
|
@@ -725,19 +795,19 @@ module CodeTools
|
|
725
795
|
unwind uw
|
726
796
|
end
|
727
797
|
|
728
|
-
def yield_splat(
|
798
|
+
def yield_splat(count)
|
729
799
|
uw = get_unwind_label
|
730
800
|
super
|
731
801
|
unwind uw
|
732
802
|
end
|
733
803
|
|
734
|
-
def yield_stack(
|
804
|
+
def yield_stack(count)
|
735
805
|
uw = get_unwind_label
|
736
806
|
super
|
737
807
|
unwind uw
|
738
808
|
end
|
739
809
|
|
740
|
-
def zsuper(
|
810
|
+
def zsuper(literal)
|
741
811
|
uw = get_unwind_label
|
742
812
|
super
|
743
813
|
unwind uw
|
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.
|
4
|
+
version: '3.15'
|
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-
|
11
|
+
date: 2017-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
prerelease: false
|
15
14
|
name: bundler
|
16
|
-
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
17
16
|
requirements:
|
18
17
|
- - "~>"
|
19
18
|
- !ruby/object:Gem::Version
|
20
19
|
version: '1.3'
|
21
|
-
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
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
|
-
prerelease: false
|
29
28
|
name: rake
|
30
|
-
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
31
30
|
requirements:
|
32
31
|
- - "~>"
|
33
32
|
- !ruby/object:Gem::Version
|
34
33
|
version: '10.0'
|
35
|
-
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
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
|
@@ -77,9 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
79
|
rubyforge_project:
|
80
|
-
rubygems_version: 2.
|
80
|
+
rubygems_version: 2.5.1
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: A Bytecode compiler for the Rubinius language platform.
|
84
84
|
test_files: []
|
85
|
-
has_rdoc:
|