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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 220203004: Improve the mirror support for deferred loading. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/deferred_load.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of dart2js; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 /** 346 /**
347 * Records global dependencies, that is, dependencies that don't 347 * Records global dependencies, that is, dependencies that don't
348 * correspond to a particular element. 348 * correspond to a particular element.
349 * 349 *
350 * We should get rid of this and ensure that all dependencies are 350 * We should get rid of this and ensure that all dependencies are
351 * associated with a particular element. 351 * associated with a particular element.
352 */ 352 */
353 final TreeElements globalDependencies = new TreeElementMapping(null); 353 final TreeElements globalDependencies = new TreeElementMapping(null);
354 354
355 /**
356 * Dependencies that are only included due to mirrors.
357 *
358 * We should get rid of this and ensure that all dependencies are
359 * associated with a particular element.
360 */
361 final TreeElements mirrorDependencies = new TreeElementMapping(null);
362
355 final bool enableMinification; 363 final bool enableMinification;
356 final bool enableTypeAssertions; 364 final bool enableTypeAssertions;
357 final bool enableUserAssertions; 365 final bool enableUserAssertions;
358 final bool trustTypeAnnotations; 366 final bool trustTypeAnnotations;
359 final bool enableConcreteTypeInference; 367 final bool enableConcreteTypeInference;
360 final bool disableTypeInferenceFlag; 368 final bool disableTypeInferenceFlag;
361 final bool dumpInfo; 369 final bool dumpInfo;
362 370
363 /** 371 /**
364 * The maximum size of a concrete type before it widens to dynamic during 372 * The maximum size of a concrete type before it widens to dynamic during
(...skipping 1426 matching lines...) Expand 10 before | Expand all | Expand 10 after
1791 static NullSink outputProvider(String name, String extension) { 1799 static NullSink outputProvider(String name, String extension) {
1792 return new NullSink('$name.$extension'); 1800 return new NullSink('$name.$extension');
1793 } 1801 }
1794 } 1802 }
1795 1803
1796 /// Information about suppressed warnings and hints for a given library. 1804 /// Information about suppressed warnings and hints for a given library.
1797 class SuppressionInfo { 1805 class SuppressionInfo {
1798 int warnings = 0; 1806 int warnings = 0;
1799 int hints = 0; 1807 int hints = 0;
1800 } 1808 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/deferred_load.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698