OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 _js_helper; | 5 part of _js_helper; |
6 | 6 |
7 /// Tells the optimizing compiler that the annotated method has no | 7 /// Tells the optimizing compiler that the annotated method has no |
8 /// side-effects. Allocations don't count as side-effects, since they can be | 8 /// side-effects. Allocations don't count as side-effects, since they can be |
9 /// dropped without changing the semantics of the program. | 9 /// dropped without changing the semantics of the program. |
10 /// | 10 /// |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 } | 49 } |
50 | 50 |
51 /// Annotation that marks the declaration as a patch. | 51 /// Annotation that marks the declaration as a patch. |
52 const _Patch patch = const _Patch(null); | 52 const _Patch patch = const _Patch(null); |
53 | 53 |
54 /// Annotation that marks the declaration as a patch for the old emitter. | 54 /// Annotation that marks the declaration as a patch for the old emitter. |
55 const _Patch patch_old = const _Patch('old'); | 55 const _Patch patch_old = const _Patch('old'); |
56 | 56 |
57 /// Annotation that marks the declaration as a patch for the new emitter. | 57 /// Annotation that marks the declaration as a patch for the new emitter. |
58 const _Patch patch_new = const _Patch('new'); | 58 const _Patch patch_new = const _Patch('new'); |
OLD | NEW |