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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/library_loader.dart

Issue 12033003: Deferred (aka lazy) loading of static functions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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: dart/sdk/lib/_internal/compiler/implementation/library_loader.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/library_loader.dart b/dart/sdk/lib/_internal/compiler/implementation/library_loader.dart
index 074cecec624cc831807fa47cca542684cdb245cf..9eea9574074de114b260f8c65e233588071de8f0 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/library_loader.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/library_loader.dart
@@ -796,6 +796,9 @@ class LibraryDependencyHandler {
void registerDependency(LibraryElement library,
LibraryDependency tag,
LibraryElement loadedLibrary) {
+ if (tag != null) {
+ library.resolvedTag(tag, loadedLibrary);
+ }
if (tag is Export) {
// [loadedLibrary] is exported by [library].
LibraryDependencyNode exportingNode = nodeMap[library];

Powered by Google App Engine
This is Rietveld 408576698