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

Unified Diff: pkg/compiler/lib/src/dump_info.dart

Issue 1859343004: dartfmt pkg/compiler (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « pkg/compiler/lib/src/diagnostics/spannable.dart ('k') | pkg/compiler/lib/src/elements/common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dump_info.dart
diff --git a/pkg/compiler/lib/src/dump_info.dart b/pkg/compiler/lib/src/dump_info.dart
index 109cd3127f2775d2660407b63db3036a67eb76e9..726d914b8d04ae9d1e2c74cc95cb70a566e3b5e1 100644
--- a/pkg/compiler/lib/src/dump_info.dart
+++ b/pkg/compiler/lib/src/dump_info.dart
@@ -4,41 +4,26 @@
library dump_info;
-import 'dart:convert' show
- ChunkedConversionSink,
- HtmlEscape,
- JsonEncoder,
- StringConversionSink;
+import 'dart:convert'
+ show ChunkedConversionSink, HtmlEscape, JsonEncoder, StringConversionSink;
import 'package:dart2js_info/info.dart';
import 'common.dart';
-import 'common/tasks.dart' show
- CompilerTask;
-import 'constants/values.dart' show
- ConstantValue,
- InterceptorConstantValue;
-import 'compiler.dart' show
- Compiler;
-import 'deferred_load.dart' show
- OutputUnit;
+import 'common/tasks.dart' show CompilerTask;
+import 'constants/values.dart' show ConstantValue, InterceptorConstantValue;
+import 'compiler.dart' show Compiler;
+import 'deferred_load.dart' show OutputUnit;
import 'elements/elements.dart';
import 'elements/visitor.dart';
-import 'info/send_info.dart' show
- collectSendMeasurements;
-import 'js_backend/js_backend.dart' show
- JavaScriptBackend;
-import 'js_emitter/full_emitter/emitter.dart' as full show
- Emitter;
+import 'info/send_info.dart' show collectSendMeasurements;
+import 'js_backend/js_backend.dart' show JavaScriptBackend;
+import 'js_emitter/full_emitter/emitter.dart' as full show Emitter;
import 'js/js.dart' as jsAst;
-import 'types/types.dart' show
- TypeMask;
-import 'universe/universe.dart' show
- ReceiverConstraint;
-import 'universe/world_impact.dart' show
- ImpactUseCase,
- WorldImpact,
- WorldImpactVisitorImpl;
+import 'types/types.dart' show TypeMask;
+import 'universe/universe.dart' show ReceiverConstraint;
+import 'universe/world_impact.dart'
+ show ImpactUseCase, WorldImpact, WorldImpactVisitorImpl;
class ElementInfoCollector extends BaseElementVisitor<Info, dynamic> {
final Compiler compiler;
@@ -453,16 +438,13 @@ class DumpInfoTask extends CompilerTask implements InfoReporter {
compiler.impactStrategy.visitImpact(
element,
impact,
- new WorldImpactVisitorImpl(
- visitDynamicUse: (dynamicUse) {
- selections.addAll(compiler.world.allFunctions
- .filter(dynamicUse.selector, dynamicUse.mask)
- .map((e) => new Selection(e, dynamicUse.mask)));
- },
- visitStaticUse: (staticUse) {
- selections.add(new Selection(staticUse.element, null));
- }
- ),
+ new WorldImpactVisitorImpl(visitDynamicUse: (dynamicUse) {
+ selections.addAll(compiler.world.allFunctions
+ .filter(dynamicUse.selector, dynamicUse.mask)
+ .map((e) => new Selection(e, dynamicUse.mask)));
+ }, visitStaticUse: (staticUse) {
+ selections.add(new Selection(staticUse.element, null));
+ }),
IMPACT_USE);
return selections;
}
« no previous file with comments | « pkg/compiler/lib/src/diagnostics/spannable.dart ('k') | pkg/compiler/lib/src/elements/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698