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

Unified Diff: runtime/vm/object_store.h

Issue 634603002: Await always waits (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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 | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
===================================================================
--- runtime/vm/object_store.h (revision 41104)
+++ runtime/vm/object_store.h (working copy)
@@ -114,6 +114,16 @@
string_type_ = value.raw();
}
+ RawClass* future_class() const { return future_class_; }
+ void set_future_class(const Class& value) {
+ future_class_ = value.raw();
+ }
+
+ RawClass* completer_class() const { return completer_class_; }
+ void set_completer_class(const Class& value) {
+ completer_class_ = value.raw();
+ }
+
RawClass* one_byte_string_class() const { return one_byte_string_class_; }
void set_one_byte_string_class(const Class& value) {
one_byte_string_class_ = value.raw();
@@ -407,6 +417,8 @@
// information is stored in sticky_error().
bool PreallocateObjects();
+ void InitAsyncObjects();
+
static void Init(Isolate* isolate);
private:
@@ -433,6 +445,8 @@
RawType* int32x4_type_;
RawType* float64x2_type_;
RawType* string_type_;
+ RawClass* future_class_;
+ RawClass* completer_class_;
RawClass* one_byte_string_class_;
RawClass* two_byte_string_class_;
RawClass* external_one_byte_string_class_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698