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

Side by Side Diff: pkg/compiler/lib/src/universe/world_impact.dart

Issue 2647043002: Fix hints reported by analyzer. (Closed)
Patch Set: Created 3 years, 11 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.universe.world_impact; 5 library dart2js.universe.world_impact;
6 6
7 import '../elements/elements.dart' show Element;
8 import '../util/util.dart' show Setlet; 7 import '../util/util.dart' show Setlet;
9 import 'use.dart' show DynamicUse, StaticUse, TypeUse; 8 import 'use.dart' show DynamicUse, StaticUse, TypeUse;
10 9
11 /// Describes how an element (e.g. a method) impacts the closed-world 10 /// Describes how an element (e.g. a method) impacts the closed-world
12 /// semantics of a program. 11 /// semantics of a program.
13 /// 12 ///
14 /// A [WorldImpact] contains information about how a program element affects our 13 /// A [WorldImpact] contains information about how a program element affects our
15 /// understanding of what's live in a program. For example, it can indicate 14 /// understanding of what's live in a program. For example, it can indicate
16 /// that a method uses a certain feature, or allocates a specific type. 15 /// that a method uses a certain feature, or allocates a specific type.
17 /// 16 ///
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 } 311 }
313 } 312 }
314 313
315 @override 314 @override
316 void visitTypeUse(TypeUse use) { 315 void visitTypeUse(TypeUse use) {
317 if (_visitTypeUse != null) { 316 if (_visitTypeUse != null) {
318 _visitTypeUse(use); 317 _visitTypeUse(use);
319 } 318 }
320 } 319 }
321 } 320 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698