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 ccba536ff45e49a92b41aa971b2dd794d0267341..b8cd09626b513921f40570d2937a0d028830cad4 100644 |
--- a/sdk/lib/_internal/compiler/implementation/enqueue.dart |
+++ b/sdk/lib/_internal/compiler/implementation/enqueue.dart |
@@ -117,6 +117,10 @@ class Enqueuer { |
&& library.uri.toString() == 'dart:isolate') { |
compiler.enableIsolateSupport(library); |
} |
+ else if (!compiler.hasMirrorsSupport() |
+ && library.uri.toString() == 'dart:mirrors') { |
+ compiler.enableMirrorsSupport(library); |
+ } |
nativeEnqueuer.registerElement(element); |
} |