| Index: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
|
| diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
|
| index 8182195eca4d3a8ddbc9828fd3308b978158d627..a7c5b2a89a3eb2b7461cbfac362c31279ffa64f4 100644
|
| --- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
|
| +++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart
|
| @@ -1951,10 +1951,7 @@ class Emitter extends js_emitter.EmitterBase {
|
|
|
| jsAst.Comment buildGeneratedBy() {
|
| List<String> options = [];
|
| - if (commonElements.mirrorsLibrary != null &&
|
| - !compiler.options.loadFromDill) {
|
| - // TODO(johnniwinther): Add `isMirrorsUsed` to [BackendData] instead
|
| - // of checking `mirrorsLibrary`.
|
| + if (_closedWorld.backendUsage.isMirrorsUsed) {
|
| options.add('mirrors');
|
| }
|
| if (compiler.options.useContentSecurityPolicy) options.add("CSP");
|
|
|