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

Unified Diff: vm/object.h

Issue 9265021: Improve compile times for swarm application startup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 11 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 | « vm/code_generator_x64.cc ('k') | vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.h
===================================================================
--- vm/object.h (revision 3423)
+++ vm/object.h (working copy)
@@ -601,6 +601,8 @@
RawFunction* LookupConstructor(const String& name) const;
RawFunction* LookupFactory(const String& name) const;
RawFunction* LookupFunction(const String& name) const;
+ RawFunction* LookupGetterFunction(const String& name) const;
+ RawFunction* LookupSetterFunction(const String& name) const;
RawFunction* LookupFunctionAtToken(intptr_t token_index) const;
RawField* LookupInstanceField(const String& name) const;
RawField* LookupStaticField(const String& name) const;
@@ -704,6 +706,10 @@
// Assigns empty array to all raw class array fields.
void InitEmptyFields();
+ RawFunction* LookupAccessorFunction(const char* prefix,
+ intptr_t prefix_length,
+ const String& name) const;
+
HEAP_OBJECT_IMPLEMENTATION(Class, Object);
friend class Object;
friend class Instance;
@@ -1503,7 +1509,9 @@
// Constructs getter and setter names for fields and vice versa.
static RawString* GetterName(const String& field_name);
+ static RawString* GetterSymbol(const String& field_name);
static RawString* SetterName(const String& field_name);
+ static RawString* SetterSymbol(const String& field_name);
static RawString* NameFromGetter(const String& getter_name);
static RawString* NameFromSetter(const String& setter_name);
« no previous file with comments | « vm/code_generator_x64.cc ('k') | vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698