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

Unified Diff: src/runtime.js

Issue 1309243003: ES6: Array.prototype.slice and friends should use ToLength instead of ToUint32 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed nit: use factory()->ToBoolean() Created 5 years, 3 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/macros.py ('k') | test/mjsunit/harmony/array-length.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.js
diff --git a/src/runtime.js b/src/runtime.js
index e5e306d8cd83a32fd6510004b58a3bd5beefa4a4..7e0ad278bb7a5750f7925399bc354d6f5f788aef 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -24,6 +24,8 @@ var $toPositiveInteger;
var $toPrimitive;
var $toString;
+var harmony_tolength = false;
+
(function(global, utils) {
%CheckIsBootstrapping();
« no previous file with comments | « src/macros.py ('k') | test/mjsunit/harmony/array-length.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698