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

Unified Diff: runtime/vm/object_store.h

Issue 2774233003: Cleanups needed for async step-out (Closed)
Patch Set: Created 3 years, 9 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.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index b8d457e24e4dccc13e21e7ffe9a0dd82de03cf79..41076fe5c64c5447b0ce9a70851caf4e18f00b1c 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -459,6 +459,20 @@ class ObjectStore {
async_star_move_next_helper_ = func.raw();
ASSERT(async_star_move_next_helper_ != Object::null());
}
+ RawFunction* complete_on_async_return() const {
+ return complete_on_async_return_;
+ }
+ void set_complete_on_async_return(const Function& func) {
+ complete_on_async_return_ = func.raw();
+ ASSERT(complete_on_async_return_ != Object::null());
+ }
+ RawClass* async_star_stream_controller() const {
+ return async_star_stream_controller_;
+ }
+ void set_async_star_stream_controller(const Class& cls) {
+ async_star_stream_controller_ = cls.raw();
+ ASSERT(async_star_stream_controller_ != Object::null());
+ }
// Visit all object pointers.
void VisitObjectPointers(ObjectPointerVisitor* visitor);
@@ -564,6 +578,8 @@ class ObjectStore {
V(RawFunction*, async_clear_thread_stack_trace_) \
V(RawFunction*, async_set_thread_stack_trace_) \
V(RawFunction*, async_star_move_next_helper_) \
+ V(RawFunction*, complete_on_async_return_) \
+ V(RawClass*, async_star_stream_controller_) \
V(RawArray*, library_load_error_table_) \
V(RawArray*, unique_dynamic_targets_) \
V(RawGrowableObjectArray*, token_objects_) \

Powered by Google App Engine
This is Rietveld 408576698