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

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

Issue 220203004: Improve the mirror support for deferred loading. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: sdk/lib/_internal/compiler/implementation/enqueue.dart
diff --git a/sdk/lib/_internal/compiler/implementation/enqueue.dart b/sdk/lib/_internal/compiler/implementation/enqueue.dart
index 47150a055febcbc1177a5ad64f11e637e76a83cf..9e695843ad4f5f73274abbcbf441d80ecdd81414 100644
--- a/sdk/lib/_internal/compiler/implementation/enqueue.dart
+++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart
@@ -365,7 +365,7 @@ abstract class Enqueuer {
task.ensureAllElementsByName();
for (Link link in task.allElementsByName.values) {
for (Element element in link) {
- pretendElementWasUsed(element, compiler.globalDependencies);
+ pretendElementWasUsed(element, compiler.mirrorDependencies);
}
}
hasEnqueuedEverything = true;
@@ -378,7 +378,7 @@ abstract class Enqueuer {
if (hasEnqueuedReflectiveStaticFields) return;
hasEnqueuedReflectiveStaticFields = true;
for (Element element in elements) {
- pretendElementWasUsed(element, compiler.globalDependencies);
+ pretendElementWasUsed(element, compiler.mirrorDependencies);
}
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/deferred_load.dart ('k') | tests/compiler/dart2js/deferred_mirrors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698