rubinius-compiler 1.0.1 → 1.1.0
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/compiler/compiled_file.rb +3 -25
- data/lib/rubinius/compiler/compiler.rb +1 -1
- data/lib/rubinius/compiler/evaluator.rb +1 -1
- data/lib/rubinius/compiler/generator.rb +1 -1
- data/lib/rubinius/compiler/generator_methods.rb +1 -1
- data/lib/rubinius/compiler/locals.rb +1 -1
- data/lib/rubinius/compiler/printers.rb +1 -1
- data/lib/rubinius/compiler/runtime.rb +1 -1
- data/lib/rubinius/compiler/stages.rb +1 -1
- data/lib/rubinius/compiler/version.rb +3 -3
- data/rubinius-compiler.gemspec +1 -1
- metadata +19 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eadc81b5fa23a562aa53900e36768683bdb0199
|
4
|
+
data.tar.gz: b1b97cbfccec9b4ee99e90f66e4a76371d749e8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdc127fe0e934b544f78c712219204669e0701042e2cef881f66fe546a5ca56fdba23b80ef129cdb9ac6ec4f2b974b3301b23c63709d3b2a12cca9f71673c151
|
7
|
+
data.tar.gz: 130d0085431e594b411adbba7c47b3fbf412d8aaf54c02775f0035280c165b5d70f407b9c9a99a500774de1704033a59bb2f878278966b2a1c1306e0107d26ed
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# -*- encoding: us-ascii -*-
|
2
2
|
|
3
|
-
module Rubinius::
|
3
|
+
module Rubinius::ToolSets.current::ToolSet
|
4
4
|
##
|
5
5
|
# A decode for the .rbc file format.
|
6
6
|
|
@@ -252,32 +252,10 @@ module Rubinius::ToolSet.current::TS
|
|
252
252
|
when Fixnum, Bignum
|
253
253
|
"I\n#{val.to_s(16)}\n"
|
254
254
|
when String
|
255
|
-
|
256
|
-
# We manually construct the Encoding data to avoid recursion
|
257
|
-
# marshaling an Encoding name as a String.
|
258
|
-
name = val.encoding.name
|
259
|
-
enc_name = "E\n#{name.bytesize}\n#{name}\n"
|
260
|
-
else
|
261
|
-
# The kernel code is all US-ASCII. When building melbourne for 1.8
|
262
|
-
# Ruby, we fake a bunch of encoding stuff so force US-ASCII here.
|
263
|
-
enc_name = "E\n8\nUS-ASCII\n"
|
264
|
-
end
|
265
|
-
|
266
|
-
"s\n#{enc_name}#{val.bytesize}\n#{val}\n"
|
255
|
+
"s\n#{val.size}\n#{val}\n"
|
267
256
|
when Symbol
|
268
257
|
s = val.to_s
|
269
|
-
|
270
|
-
# We manually construct the Encoding data to avoid recursion
|
271
|
-
# marshaling an Encoding name as a String.
|
272
|
-
name = s.encoding.name
|
273
|
-
enc_name = "E\n#{name.bytesize}\n#{name}\n"
|
274
|
-
else
|
275
|
-
# The kernel code is all US-ASCII. When building melbourne for 1.8
|
276
|
-
# Ruby, we fake a bunch of encoding stuff so force US-ASCII here.
|
277
|
-
enc_name = "E\n8\nUS-ASCII\n"
|
278
|
-
end
|
279
|
-
|
280
|
-
"x\n#{enc_name}#{s.bytesize}\n#{s}\n"
|
258
|
+
"x\n#{s.size}\n#{s}\n"
|
281
259
|
when Rubinius::Tuple
|
282
260
|
str = "p\n#{val.size}\n"
|
283
261
|
val.each do |ele|
|
data/rubinius-compiler.gemspec
CHANGED
@@ -4,7 +4,7 @@ require './lib/rubinius/compiler/version'
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "rubinius-compiler"
|
7
|
-
spec.version = Rubinius::
|
7
|
+
spec.version = Rubinius::ToolSets.current::ToolSet::Compiler::VERSION
|
8
8
|
spec.authors = ["Brian Shirai"]
|
9
9
|
spec.email = ["brixen@gmail.com"]
|
10
10
|
spec.description = %q{Rubinius bytecode compiler.}
|
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: 1.0
|
4
|
+
version: 1.1.0
|
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: 2014-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
|
-
|
15
|
+
version_requirements: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.3'
|
20
|
-
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirement: !ruby/object:Gem::Requirement
|
23
21
|
requirements:
|
24
|
-
- - ~>
|
22
|
+
- - "~>"
|
25
23
|
- !ruby/object:Gem::Version
|
26
24
|
version: '1.3'
|
25
|
+
prerelease: false
|
26
|
+
type: :development
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
|
-
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
|
-
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
37
35
|
requirements:
|
38
|
-
- - ~>
|
36
|
+
- - "~>"
|
39
37
|
- !ruby/object:Gem::Version
|
40
38
|
version: '10.0'
|
39
|
+
prerelease: false
|
40
|
+
type: :development
|
41
41
|
description: Rubinius bytecode compiler.
|
42
42
|
email:
|
43
43
|
- brixen@gmail.com
|
@@ -45,7 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
49
|
- Gemfile
|
50
50
|
- LICENSE
|
51
51
|
- README.md
|
@@ -74,18 +74,19 @@ require_paths:
|
|
74
74
|
- lib
|
75
75
|
required_ruby_version: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- -
|
77
|
+
- - ">="
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
82
|
+
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.2.2
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Rubinius bytecode compiler.
|
91
91
|
test_files: []
|
92
|
+
has_rdoc:
|