Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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. | |
|
karlklose
2014/04/01 13:48:18
Please add a todo to get rid of this (see above co
sigurdm
2014/04/01 13:57:44
Done.
| |
| 357 */ | |
| 358 final TreeElements mirrorDependencies = new TreeElementMapping(null); | |
| 359 | |
| 355 final bool enableMinification; | 360 final bool enableMinification; |
| 356 final bool enableTypeAssertions; | 361 final bool enableTypeAssertions; |
| 357 final bool enableUserAssertions; | 362 final bool enableUserAssertions; |
| 358 final bool trustTypeAnnotations; | 363 final bool trustTypeAnnotations; |
| 359 final bool enableConcreteTypeInference; | 364 final bool enableConcreteTypeInference; |
| 360 final bool disableTypeInferenceFlag; | 365 final bool disableTypeInferenceFlag; |
| 361 final bool dumpInfo; | 366 final bool dumpInfo; |
| 362 | 367 |
| 363 /** | 368 /** |
| 364 * The maximum size of a concrete type before it widens to dynamic during | 369 * 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 Loading... | |
| 1791 static NullSink outputProvider(String name, String extension) { | 1796 static NullSink outputProvider(String name, String extension) { |
| 1792 return new NullSink('$name.$extension'); | 1797 return new NullSink('$name.$extension'); |
| 1793 } | 1798 } |
| 1794 } | 1799 } |
| 1795 | 1800 |
| 1796 /// Information about suppressed warnings and hints for a given library. | 1801 /// Information about suppressed warnings and hints for a given library. |
| 1797 class SuppressionInfo { | 1802 class SuppressionInfo { |
| 1798 int warnings = 0; | 1803 int warnings = 0; |
| 1799 int hints = 0; | 1804 int hints = 0; |
| 1800 } | 1805 } |
| OLD | NEW |