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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart

Issue 2960723004: Handle super-method call (Closed)
Patch Set: Updated cf. comments. Created 3 years, 6 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: 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");

Powered by Google App Engine
This is Rietveld 408576698