| 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 abstract class ObjectPoolRef extends ObjectRef { | 7 abstract class ObjectPoolRef extends ObjectRef { |
| 8 int get length; | 8 int get length; |
| 9 } | 9 } |
| 10 | 10 |
| 11 abstract class ObjectPool extends Object implements ObjectPoolRef { | 11 abstract class ObjectPool extends Object implements ObjectPoolRef { |
| 12 Iterable<ObjectPoolEntry> get entries; | 12 Iterable<ObjectPoolEntry> get entries; |
| 13 } | 13 } |
| 14 | 14 |
| 15 enum ObjectPoolEntryKind { | 15 enum ObjectPoolEntryKind { object, immediate, nativeEntry } |
| 16 object, | |
| 17 immediate, | |
| 18 nativeEntry | |
| 19 } | |
| 20 | 16 |
| 21 abstract class ObjectPoolEntry { | 17 abstract class ObjectPoolEntry { |
| 22 int get offset; | 18 int get offset; |
| 23 ObjectPoolEntryKind get kind; | 19 ObjectPoolEntryKind get kind; |
| 24 ObjectRef get asObject; | 20 ObjectRef get asObject; |
| 25 int get asInteger; | 21 int get asInteger; |
| 26 } | 22 } |
| OLD | NEW |