rubinius-compiler 3.2 → 3.3

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: b8f0185b47866838d791ca5875d2c2c86a92c5e9
4
- data.tar.gz: cc1d20dc50c05e28554a5efd60ac10f34d2c2a65
3
+ metadata.gz: 93a948461d075b559968a7aef8c56b5868b0649b
4
+ data.tar.gz: a4dbf933ea5dc039c3cc134d504b0853c30836b9
5
5
  SHA512:
6
- metadata.gz: 2cc1d06ee268a446f6eba05e33f59a98e44659bf8e63c31b8b00d7dd05c171cf7940b193de3333e647a7c2ea88a29df5bb7c903c5e31b38f06c170d9ed419d0d
7
- data.tar.gz: 51a91af6651953519056ec02b9b8ca708907d26c10124e72cfbbebe41c97767dffa01a6abb20fd91ba212653049d78057d5a68b69956285612382563fbffd521
6
+ metadata.gz: 389417395876fd1519340284c66fa31d2b61a0d4da81da01443d954dbf7dee0eeb78327ede10d3af2c33fbddd04338fdcf1fed7894851c1f6130c80210300c4f
7
+ data.tar.gz: 12dc2e56b7805bbdf9013b06c1b5a7daaa5f14531f4aa30c395724e3a5febf7a19af6618f4c3684cc618d09c6e653953beec8c9a57704c52efd85ca5f1a83eb1
@@ -490,6 +490,14 @@ module CodeTools
490
490
  index
491
491
  end
492
492
 
493
+ def push_float(float)
494
+ emit_push_literal add_literal(float)
495
+ end
496
+
497
+ def push_literal(literal)
498
+ emit_push_literal find_literal(literal)
499
+ end
500
+
493
501
  def push_local(idx)
494
502
  if @detected_locals <= idx
495
503
  @detected_locals = idx + 1
@@ -52,8 +52,7 @@ module CodeTools
52
52
  @instruction = 6
53
53
  end
54
54
 
55
- def push_literal(arg1)
56
- arg1 = find_literal(arg1)
55
+ def emit_push_literal(arg1)
57
56
  @stream << 7 << arg1
58
57
  @ip += 2
59
58
  @current_block.add_stack(0, 1)
@@ -1,5 +1,5 @@
1
1
  module CodeTools
2
2
  class Compiler
3
- VERSION = "3.2"
3
+ VERSION = "3.3"
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.2'
4
+ version: '3.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-08 00:00:00.000000000 Z
11
+ date: 2016-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement