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

Unified Diff: src/bootstrapper.cc

Issue 384963002: ES6 Unscopables (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Updated to reflect the July 2014 consensus Created 6 years, 4 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 545d015a228a95bd3d38a2745c7f2f47ff6f66cf..7cf107ec082d7144158e2c912bb421a76ed7ce7f 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1652,6 +1652,10 @@ void Genesis::InstallExperimentalNativeFunctions() {
INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap);
INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate);
}
+
+ if (FLAG_harmony_unscopables) {
+ INSTALL_NATIVE(Symbol, "symbolUnscopables", unscopables_symbol);
+ }
}
#undef INSTALL_NATIVE

Powered by Google App Engine
This is Rietveld 408576698