Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: src/js/runtime.js

Issue 1411653002: Install iterator meta objects via utils object. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/regexp.js ('k') | src/js/string-iterator.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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([
« no previous file with comments | « src/js/regexp.js ('k') | src/js/string-iterator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698