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

Side by Side Diff: pkg/compiler/lib/src/serialization/impact_serialization.dart

Issue 2250193002: Move definition of Feature next to definitions of WorldImpact and Use (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.serialization.impact; 5 library dart2js.serialization.impact;
6 6
7 import '../common/resolution.dart'; 7 import '../common/resolution.dart';
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../dart_types.dart'; 9 import '../dart_types.dart';
10 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
11 import '../universe/selector.dart'; 11 import '../universe/selector.dart';
12 import '../universe/feature.dart';
12 import '../universe/use.dart'; 13 import '../universe/use.dart';
13 import '../universe/world_impact.dart'; 14 import '../universe/world_impact.dart';
14 import '../util/enumset.dart'; 15 import '../util/enumset.dart';
15 import 'keys.dart'; 16 import 'keys.dart';
16 import 'serialization.dart'; 17 import 'serialization.dart';
17 import 'serialization_util.dart'; 18 import 'serialization_util.dart';
18 19
19 /// Visitor that serializes a [ResolutionImpact] object using an 20 /// Visitor that serializes a [ResolutionImpact] object using an
20 /// [ObjectEncoder]. 21 /// [ObjectEncoder].
21 class ImpactSerializer implements WorldImpactVisitor { 22 class ImpactSerializer implements WorldImpactVisitor {
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 constantLiterals: constantLiterals, 209 constantLiterals: constantLiterals,
209 dynamicUses: dynamicUses, 210 dynamicUses: dynamicUses,
210 features: features, 211 features: features,
211 listLiterals: listLiterals, 212 listLiterals: listLiterals,
212 mapLiterals: mapLiterals, 213 mapLiterals: mapLiterals,
213 staticUses: staticUses, 214 staticUses: staticUses,
214 typeUses: typeUses, 215 typeUses: typeUses,
215 nativeData: nativeData); 216 nativeData: nativeData);
216 } 217 }
217 } 218 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698