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

Unified Diff: src/bootstrapper.cc

Issue 1086813005: Wrap object observe implementation in a function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/array.js ('k') | src/object-observe.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 61017bfa2e1bd402e2e2be01577c8b31157df27a..2246f6e1a797741fcc40f43d2ff0ee2e993aa1dd 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1565,17 +1565,18 @@ void Genesis::InstallNativeFunctions() {
INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch);
INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then);
- INSTALL_NATIVE(JSFunction, "NotifyChange", observers_notify_change);
- INSTALL_NATIVE(JSFunction, "EnqueueSpliceRecord", observers_enqueue_splice);
- INSTALL_NATIVE(JSFunction, "BeginPerformSplice",
+ INSTALL_NATIVE(JSFunction, "$observeNotifyChange", observers_notify_change);
+ INSTALL_NATIVE(JSFunction, "$observeEnqueueSpliceRecord",
+ observers_enqueue_splice);
+ INSTALL_NATIVE(JSFunction, "$observeBeginPerformSplice",
observers_begin_perform_splice);
- INSTALL_NATIVE(JSFunction, "EndPerformSplice",
+ INSTALL_NATIVE(JSFunction, "$observeEndPerformSplice",
observers_end_perform_splice);
- INSTALL_NATIVE(JSFunction, "NativeObjectObserve",
+ INSTALL_NATIVE(JSFunction, "$observeNativeObjectObserve",
native_object_observe);
- INSTALL_NATIVE(JSFunction, "NativeObjectGetNotifier",
+ INSTALL_NATIVE(JSFunction, "$observeNativeObjectGetNotifier",
native_object_get_notifier);
- INSTALL_NATIVE(JSFunction, "NativeObjectNotifierPerformChange",
+ INSTALL_NATIVE(JSFunction, "$observeNativeObjectNotifierPerformChange",
native_object_notifier_perform_change);
INSTALL_NATIVE(JSFunction, "$arrayValues", array_values_iterator);
}
« no previous file with comments | « src/array.js ('k') | src/object-observe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698