| 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 CodeKind { | 7 enum CodeKind { |
| 8 dart, | 8 dart, |
| 9 native, | 9 native, |
| 10 stub, | 10 stub, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 /// The name of this class. | 29 /// The name of this class. |
| 30 String get name; | 30 String get name; |
| 31 | 31 |
| 32 // What kind of code object is this? | 32 // What kind of code object is this? |
| 33 CodeKind get kind; | 33 CodeKind get kind; |
| 34 | 34 |
| 35 bool get isOptimized; | 35 bool get isOptimized; |
| 36 } | 36 } |
| 37 | 37 |
| 38 abstract class Code extends Object implements CodeRef { | 38 abstract class Code extends Object implements CodeRef { |
| 39 FunctionRef get function; |
| 40 ObjectPoolRef get objectPool; |
| 41 Iterable<FunctionRef> get inlinedFunctions; |
| 39 } | 42 } |
| OLD | NEW |