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

Unified Diff: runtime/vm/parser.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/object.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.h
===================================================================
--- runtime/vm/parser.h (revision 1098)
+++ runtime/vm/parser.h (working copy)
@@ -221,11 +221,12 @@
void CheckConstructors(ClassDesc* members);
void ParseInitializedInstanceFields(const Class& cls,
GrowableArray<FieldInitExpression>* initializers);
- void GenerateSuperInitializerCall(const Class& cls, LocalVariable* receiver);
+ void GenerateSuperConstructorCall(const Class& cls,
+ LocalVariable* receiver);
AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver);
AstNode* ParseInitializer(const Class& cls, LocalVariable* receiver);
void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver);
- void ParseInitializers(const Class& cls);
+ void ParseInitializers(const Class& cls, LocalVariable* receiver);
String& ParseNativeDeclaration();
RawArray* ParseInterfaceList();
void AddInterfaces(intptr_t interfaces_pos,
@@ -259,6 +260,7 @@
void OpenFunctionBlock(const Function& func);
SequenceNode* CloseBlock();
+ LocalVariable* LookupPhaseParameter();
LocalVariable* LookupReceiver(LocalScope* from_scope, bool test_only);
void CaptureReceiver();
AstNode* LoadReceiver(intptr_t token_index);
@@ -345,7 +347,7 @@
GrowableArray<const String*>& named_argument_names,
GrowableArray<const Smi*>& named_argument_positions);
// An implicit argument, if non-null, is prepended to the returned list.
- ArgumentListNode* ParseActualParameters(AstNode* implicit_argument,
+ ArgumentListNode* ParseActualParameters(ArgumentListNode* implicit_arguments,
bool require_const);
AstNode* ParseStaticCall(const Class& cls,
const String& method_name,
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698