rubinius-compiler 3.15 → 3.16
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 +16 -20
- data/lib/rubinius/code/compiler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c6300bd7b474e79057b58b6a31a650d7aafcc93
|
4
|
+
data.tar.gz: 36251ec9562388e72869caba8ddc5e4c95130c8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.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-
|
11
|
+
date: 2017-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|