This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kernel/common/float.rb b/kernel/common/float.rb | |
index bd31205..3b8d40c 100644 | |
--- a/kernel/common/float.rb | |
+++ b/kernel/common/float.rb | |
@@ -161,6 +161,10 @@ class Float < Numeric | |
end | |
private :to_s_formatted | |
+ def to_packed(size) | |
+ Ruby.primitive :float_to_packed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kernel/compiler/bytecode.rb b/kernel/compiler/bytecode.rb | |
index 13e40fb..4cd22ea 100644 | |
--- a/kernel/compiler/bytecode.rb | |
+++ b/kernel/compiler/bytecode.rb | |
@@ -153,13 +153,19 @@ class Compiler | |
splat = @body.pop | |
end | |
- @body.each do |x| | |
- x.bytecode(g) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/kernel/common/compiled_method.rb b/kernel/common/compiled_method.rb | |
index df80cc9..338c18a 100644 | |
--- a/kernel/common/compiled_method.rb | |
+++ b/kernel/common/compiled_method.rb | |
@@ -198,6 +198,8 @@ module Rubinius | |
class Script | |
attr_accessor :path | |
+ def root_script=(value); @root_script = value; end | |
+ def root_script?; @root_script; end |
NewerOlder