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

Unified Diff: vm/raw_object.h

Issue 8342046: Add an imported into list for libraries so that it is possible to lookup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 2 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
Index: vm/raw_object.h
===================================================================
--- vm/raw_object.h (revision 557)
+++ vm/raw_object.h (working copy)
@@ -447,13 +447,15 @@
RawString* private_key_;
RawArray* dictionary_; // Top-level names in this library.
RawArray* anonymous_classes_; // Classes containing top-level elements.
- RawArray* imports_; // Imported libraries.
+ RawArray* imports_; // List of imported libraries.
+ RawArray* imported_into_; // List of libraries where this is imported.
hausner 2011/10/19 23:56:27 It doesn't fit on one line, but I think it's worth
siva 2011/10/20 23:08:47 Done.
RawLibrary* next_registered_; // Linked list of registered libraries.
RawObject** to() {
return reinterpret_cast<RawObject**>(&ptr()->next_registered_);
}
intptr_t num_imports_; // Number of entries in imports_.
+ intptr_t num_imported_into_; // Number of entries in imported_into_.
intptr_t num_anonymous_; // Number of entries in anonymous_classes_.
Dart_NativeEntryResolver native_entry_resolver_; // Resolves natives.
bool corelib_imported_;
« vm/object.cc ('K') | « vm/object_test.cc ('k') | vm/raw_object_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698