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

Unified Diff: src/runtime.cc

Issue 11266011: Delivery logic for Object.observe (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased against newest per-isolate patch Created 8 years, 1 month 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/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index c9fb2825f2e91b7846540782d85cd266d62d5a88..9803b24e825b166919ae54932b40b67e3c0b6399 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -13245,6 +13245,13 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SetIsObserved) {
}
+RUNTIME_FUNCTION(MaybeObject*, Runtime_SetHasActiveObjectObservers) {
+ ASSERT(args.length() == 0);
+ isolate->set_has_active_object_observers(true);
+ return isolate->heap()->undefined_value();
+}
+
+
RUNTIME_FUNCTION(MaybeObject*, Runtime_GetObservationState) {
ASSERT(args.length() == 0);
return isolate->heap()->observation_state();

Powered by Google App Engine
This is Rietveld 408576698