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

Side by Side Diff: pkg/compiler/lib/src/native/enqueue.dart

Issue 2791993002: Fix dart2js warnings and add test to ensure it stays clean. (Closed)
Patch Set: Address comments and fix duplicated library names. Created 3 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 unified diff | Download patch
« no previous file with comments | « pkg/compiler/lib/src/library_loader.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 '../common.dart';
6 import '../common/backend_api.dart'; 5 import '../common/backend_api.dart';
7 import '../common_elements.dart' show CommonElements, ElementEnvironment; 6 import '../common_elements.dart' show CommonElements, ElementEnvironment;
8 import '../elements/elements.dart'; 7 import '../elements/elements.dart';
9 import '../elements/entities.dart'; 8 import '../elements/entities.dart';
10 import '../elements/resolution_types.dart'; 9 import '../elements/resolution_types.dart';
11 import '../elements/types.dart'; 10 import '../elements/types.dart';
12 import '../js_backend/backend_helpers.dart' show BackendHelpers; 11 import '../js_backend/backend_helpers.dart' show BackendHelpers;
13 import '../js_backend/backend_usage.dart' show BackendUsageBuilder; 12 import '../js_backend/backend_usage.dart' show BackendUsageBuilder;
14 import '../js_backend/native_data.dart' show NativeData; 13 import '../js_backend/native_data.dart' show NativeData;
15 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter; 14 import '../js_emitter/js_emitter.dart' show CodeEmitterTask, NativeEmitter;
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 emitter.directSubtypes.putIfAbsent(superclass, () => <ClassEntity>[]); 311 emitter.directSubtypes.putIfAbsent(superclass, () => <ClassEntity>[]);
313 directSubtypes.add(cls); 312 directSubtypes.add(cls);
314 } 313 }
315 314
316 void logSummary(void log(String message)) { 315 void logSummary(void log(String message)) {
317 super.logSummary(log); 316 super.logSummary(log);
318 log('Compiled ${_registeredClasses.length} native classes, ' 317 log('Compiled ${_registeredClasses.length} native classes, '
319 '${_unusedClasses.length} native classes omitted.'); 318 '${_unusedClasses.length} native classes omitted.');
320 } 319 }
321 } 320 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/library_loader.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698