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

Unified Diff: runtime/vm/raw_object.h

Issue 10414084: Replace linked list of loaded libraries (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « runtime/vm/object_store.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 7922)
+++ runtime/vm/raw_object.h (working copy)
@@ -668,10 +668,9 @@
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.
RawArray* loaded_scripts_; // Array of scripts loaded in this library.
RawObject** to() {
- return reinterpret_cast<RawObject**>(&ptr()->next_registered_);
+ return reinterpret_cast<RawObject**>(&ptr()->loaded_scripts_);
}
intptr_t num_imports_; // Number of entries in imports_.
« no previous file with comments | « runtime/vm/object_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698