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

Unified Diff: src/bootstrapper.cc

Issue 342453002: Arguments object has @@iterator (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 4d7ce52a127d647a04d004326cf8e296eb04b4ce..bb2ee8953c87d9fa27bb28bda62d142cea028135 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1650,6 +1650,10 @@ void Genesis::InstallExperimentalNativeFunctions() {
if (FLAG_harmony_symbols) {
INSTALL_NATIVE(Symbol, "symbolIterator", iterator_symbol);
}
+
+ if (FLAG_harmony_iteration) {
+ INSTALL_NATIVE(JSFunction, "ArrayValues", array_values_iterator);
+ }
}
#undef INSTALL_NATIVE

Powered by Google App Engine
This is Rietveld 408576698