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

Unified Diff: runtime/vm/object.h

Issue 8440014: Two-phase constructors (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 1098)
+++ runtime/vm/object.h (working copy)
@@ -1283,6 +1283,10 @@
const Function& parent,
intptr_t token_index);
+ static const int kCtorPhaseInit = 1 << 0;
+ static const int kCtorPhaseBody = 1 << 1;
+ static const int kCtorPhaseAll = (kCtorPhaseInit | kCtorPhaseBody);
+
private:
void set_name(const String& value) const;
void set_kind(RawFunction::Kind value) const;
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698