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

Unified Diff: runtime/vm/object_store.cc

Issue 354763004: - Implement Isolate.pause and Isolate.resume. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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: runtime/vm/object_store.cc
===================================================================
--- runtime/vm/object_store.cc (revision 37860)
+++ runtime/vm/object_store.cc (working copy)
@@ -65,6 +65,7 @@
libraries_(GrowableObjectArray::null()),
pending_classes_(GrowableObjectArray::null()),
pending_functions_(GrowableObjectArray::null()),
+ pause_capabilities_(GrowableObjectArray::null()),
sticky_error_(Error::null()),
unhandled_exception_handler_(String::null()),
empty_context_(Context::null()),
@@ -109,6 +110,8 @@
ASSERT(this->pending_functions() == GrowableObjectArray::null());
this->pending_functions_ = GrowableObjectArray::New();
+ this->pause_capabilities_ = GrowableObjectArray::New();
+
Object& result = Object::Handle();
const Library& library = Library::Handle(Library::CoreLibrary());

Powered by Google App Engine
This is Rietveld 408576698