Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index cf5ad11f74056ff5b70c846801919054cc2a7724..1824d220039c68b754045a235c34e5a5a9974715 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1418,6 +1418,9 @@ void Genesis::InstallNativeFunctions() { |
} |
void Genesis::InstallExperimentalNativeFunctions() { |
+ if (FLAG_harmony_symbols) { |
+ INSTALL_NATIVE(JSObject, "SymbolDelegate", symbol_delegate); |
+ } |
if (FLAG_harmony_proxies) { |
INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); |
INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); |
@@ -1845,6 +1848,11 @@ bool Genesis::InstallExperimentalNatives() { |
for (int i = ExperimentalNatives::GetDebuggerCount(); |
i < ExperimentalNatives::GetBuiltinsCount(); |
i++) { |
+ if (FLAG_harmony_symbols && |
+ strcmp(ExperimentalNatives::GetScriptName(i).start(), |
+ "native symbol.js") == 0) { |
+ if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
+ } |
if (FLAG_harmony_proxies && |
strcmp(ExperimentalNatives::GetScriptName(i).start(), |
"native proxy.js") == 0) { |