Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 5e1f80ebc9de7147dee429021eb37dc5a0017261..062ab853cc747793b5338ce58898a7dd00b4d9b3 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1415,6 +1415,9 @@ void Genesis::InstallExperimentalNativeFunctions() { |
INSTALL_NATIVE(JSFunction, "DerivedSetTrap", derived_set_trap); |
INSTALL_NATIVE(JSFunction, "ProxyEnumerate", proxy_enumerate); |
} |
+ if (FLAG_harmony_observation) { |
+ INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change); |
+ } |
} |
#undef INSTALL_NATIVE |
@@ -1828,7 +1831,7 @@ bool Genesis::InstallExperimentalNatives() { |
"native collection.js") == 0) { |
if (!CompileExperimentalBuiltin(isolate(), i)) return false; |
} |
- if (FLAG_harmony_object_observe && |
+ if (FLAG_harmony_observation && |
strcmp(ExperimentalNatives::GetScriptName(i).start(), |
"native object-observe.js") == 0) { |
if (!CompileExperimentalBuiltin(isolate(), i)) return false; |