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

Unified Diff: runtime/vm/object.h

Issue 15951003: More cleanups to avoid Handle creation in hot paths. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | « no previous file | runtime/vm/object.cc » ('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 23161)
+++ runtime/vm/object.h (working copy)
@@ -917,6 +917,13 @@
private:
enum {
+ kAny = 0,
+ kStatic,
+ kInstance,
+ kConstructor,
+ kFactory,
+ };
+ enum {
kConstBit = 0,
kImplementedBit = 1,
kAbstractBit = 2,
@@ -953,6 +960,12 @@
// Assigns empty array to all raw class array fields.
void InitEmptyFields();
+ static RawFunction* CheckFunctionType(const Function& func, intptr_t type);
+ RawFunction* LookupFunction(const String& name, intptr_t type) const;
+ RawFunction* LookupFunctionAllowPrivate(const String& name,
+ intptr_t type) const;
+ RawField* LookupField(const String& name, intptr_t type) const;
+
RawFunction* LookupAccessorFunction(const char* prefix,
intptr_t prefix_length,
const String& name) const;
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698