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

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
« no previous file with comments | « vm/object_test.cc ('k') | vm/raw_object_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/raw_object.h
===================================================================
--- vm/raw_object.h (revision 591)
+++ vm/raw_object.h (working copy)
@@ -448,13 +448,16 @@
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 libraries imported without prefix.
+ RawArray* imported_into_; // List of libraries where this library
+ // is imported into without a prefix.
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_;
« no previous file with comments | « 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