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

Side by Side Diff: pkg/compiler/lib/src/native/enqueue.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 import 'dart:collection' show Queue;
6
7 import '../common.dart'; 5 import '../common.dart';
8 import '../common/backend_api.dart' show ForeignResolver; 6 import '../common/backend_api.dart' show ForeignResolver;
9 import '../common/resolution.dart' show Resolution; 7 import '../common/resolution.dart' show Resolution;
10 import '../compiler.dart' show Compiler; 8 import '../compiler.dart' show Compiler;
11 import '../constants/values.dart'; 9 import '../constants/values.dart';
12 import '../core_types.dart' show CommonElements; 10 import '../core_types.dart' show CommonElements;
13 import '../elements/resolution_types.dart'; 11 import '../elements/resolution_types.dart';
14 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
15 import '../elements/modelx.dart' show FunctionElementX; 13 import '../elements/modelx.dart' show FunctionElementX;
16 import '../js_backend/backend_helpers.dart' show BackendHelpers; 14 import '../js_backend/backend_helpers.dart' show BackendHelpers;
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 List<Element> directSubtypes = 651 List<Element> directSubtypes =
654 emitter.directSubtypes.putIfAbsent(superclass, () => <ClassElement>[]); 652 emitter.directSubtypes.putIfAbsent(superclass, () => <ClassElement>[]);
655 directSubtypes.add(cls); 653 directSubtypes.add(cls);
656 } 654 }
657 655
658 void logSummary(log(message)) { 656 void logSummary(log(message)) {
659 log('Compiled ${_registeredClasses.length} native classes, ' 657 log('Compiled ${_registeredClasses.length} native classes, '
660 '${_unusedClasses.length} native classes omitted.'); 658 '${_unusedClasses.length} native classes omitted.');
661 } 659 }
662 } 660 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698