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

Unified Diff: runtime/vm/object.h

Issue 217543004: VM: Evaluate metadata on a class in the scope of its library not the scope of the class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comments Created 6 years, 9 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
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 2c302960bbf2948c949f955b03dc5dbf46e1d4c8..4064e941d5873e43cc5e58b30f9e3b3bb9472e7a 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2575,7 +2575,9 @@ class Library : public Object {
void AddExport(const Namespace& ns) const;
- void AddClassMetadata(const Class& cls, intptr_t token_pos) const;
+ void AddClassMetadata(const Class& cls,
+ const Class& toplevel_class,
+ intptr_t token_pos) const;
void AddFieldMetadata(const Field& field, intptr_t token_pos) const;
void AddFunctionMetadata(const Function& func, intptr_t token_pos) const;
void AddLibraryMetadata(const Class& cls, intptr_t token_pos) 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