Index: src/js/runtime.js |
diff --git a/src/js/runtime.js b/src/js/runtime.js |
index 6de87d5076787e515afe88de7d79d8f03885244f..d584100bebb01beb2d16a29abba4b2ef4a108acf 100644 |
--- a/src/js/runtime.js |
+++ b/src/js/runtime.js |
@@ -11,10 +11,6 @@ |
// The following declarations are shared with other native JS files. |
// They are all declared at this one spot to avoid redeclaration errors. |
-var $sameValue; |
-var $sameValueZero; |
- |
-var harmony_tolength = false; |
(function(global, utils) { |
@@ -232,11 +228,10 @@ function ToPositiveInteger(x, rangeErrorIndex) { |
// ---------------------------------------------------------------------------- |
// Exports |
-$sameValue = SameValue; |
-$sameValueZero = SameValueZero; |
- |
utils.Export(function(to) { |
to.ToPositiveInteger = ToPositiveInteger; |
+ to.SameValue = SameValue; |
+ to.SameValueZero = SameValueZero; |
}); |
%InstallToContext([ |