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. | 8 /// side-effects. |
9 /// Requires @NoInline() to function correctly. | 9 /// Requires @NoInline() to function correctly. |
10 class NoSideEffects { | 10 class NoSideEffects { |
(...skipping 16 matching lines...) Expand all Loading... |
27 class IrRepresentation { | 27 class IrRepresentation { |
28 final bool value; | 28 final bool value; |
29 const IrRepresentation(this.value); | 29 const IrRepresentation(this.value); |
30 } | 30 } |
31 | 31 |
32 /// Marks a class as native and defines its JavaScript name(s). | 32 /// Marks a class as native and defines its JavaScript name(s). |
33 class Native { | 33 class Native { |
34 final String name; | 34 final String name; |
35 const Native(this.name); | 35 const Native(this.name); |
36 } | 36 } |
OLD | NEW |