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

Unified Diff: runtime/vm/parser.h

Issue 10871005: Make ClassFinalizer indifferent on whether we are generating a snapshot or not. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/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 11197)
+++ runtime/vm/parser.h (working copy)
@@ -28,7 +28,7 @@
struct FieldInitExpression;
// The class ParsedFunction holds the result of parsing a function.
-class ParsedFunction : ValueObject {
+class ParsedFunction : public ValueObject {
public:
static const int kFirstLocalSlotIndex = -2;
@@ -105,7 +105,7 @@
};
-class Parser : ValueObject {
+class Parser : public ValueObject {
public:
Parser(const Script& script, const Library& library);
Parser(const Script& script, const Function& function, intptr_t token_pos);
@@ -313,9 +313,10 @@
void CheckConstFieldsInitialized(const Class& cls);
void AddImplicitConstructor(ClassDesc* members);
void CheckConstructorCycles(ClassDesc* members);
- void ParseInitializedInstanceFields(const Class& cls,
- LocalVariable* receiver,
- GrowableArray<Field*>* initialized_fields);
+ void ParseInitializedInstanceFields(
+ const Class& cls,
+ LocalVariable* receiver,
+ GrowableArray<Field*>* initialized_fields);
void CheckDuplicateFieldInit(intptr_t init_pos,
GrowableArray<Field*>* initialized_fields,
Field* field);
@@ -332,6 +333,9 @@
String& ParseNativeDeclaration();
// TODO(srdjan): Return TypeArguments instead of Array?
RawArray* ParseInterfaceList();
+ void AddInterfaceIfUnique(intptr_t interfaces_pos,
+ const GrowableObjectArray& interface_list,
+ const AbstractType& interface);
void AddInterfaces(intptr_t interfaces_pos,
const Class& cls,
const Array& interfaces);
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698