OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 models; | 5 part of models; |
6 | 6 |
7 enum FunctionKind { | 7 enum FunctionKind { |
8 regular, | 8 regular, |
9 closure, | 9 closure, |
10 getter, | 10 getter, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 /// The kind of the function. | 75 /// The kind of the function. |
76 FunctionKind get kind; | 76 FunctionKind get kind; |
77 } | 77 } |
78 | 78 |
79 abstract class Function extends Object implements FunctionRef { | 79 abstract class Function extends Object implements FunctionRef { |
80 /// The location of this function in the source code. [optional] | 80 /// The location of this function in the source code. [optional] |
81 SourceLocation get location; | 81 SourceLocation get location; |
82 | 82 |
83 /// The compiled code associated with this function. [optional] | 83 /// The compiled code associated with this function. [optional] |
84 CodeRef get code; | 84 CodeRef get code; |
| 85 /// [optional] |
| 86 CodeRef get unoptimizedCode; |
| 87 /// [optional] |
| 88 FieldRef get field; |
| 89 int get usageCounter; |
| 90 InstanceRef get icDataArray; |
| 91 int get deoptimizations; |
| 92 bool get isOptimizable; |
| 93 bool get isInlinable; |
| 94 bool get hasIntrinsic; |
| 95 bool get isRecognized; |
| 96 bool get isNative; |
| 97 String get vmName; |
85 } | 98 } |
OLD | NEW |