| Index: pkg/compiler/lib/src/deferred_load.dart
|
| diff --git a/pkg/compiler/lib/src/deferred_load.dart b/pkg/compiler/lib/src/deferred_load.dart
|
| index c3c4d7acb3b91fff4d5eb6181820c105a62f12d5..47ead89246480f17f4a2c0256cfd327df5dfc315 100644
|
| --- a/pkg/compiler/lib/src/deferred_load.dart
|
| +++ b/pkg/compiler/lib/src/deferred_load.dart
|
| @@ -720,7 +720,7 @@ class DeferredLoadTask extends CompilerTask {
|
|
|
| // Now check to see if we have to add more elements due to
|
| // mirrors.
|
| - if (compiler.resolution.commonElements.mirrorsLibrary != null) {
|
| + if (closedWorld.backendUsage.isMirrorsUsed) {
|
| _addMirrorElements();
|
| }
|
|
|
|
|