| Index: runtime/observatory/lib/src/models/objects/object.dart
|
| diff --git a/runtime/observatory/lib/src/models/objects/object.dart b/runtime/observatory/lib/src/models/objects/object.dart
|
| index 829a60d2880250a4802b7ea7620cf8a3a085c577..7679c5d58c0b3b0e68195d0832fa33c7ad0fd476 100644
|
| --- a/runtime/observatory/lib/src/models/objects/object.dart
|
| +++ b/runtime/observatory/lib/src/models/objects/object.dart
|
| @@ -9,4 +9,23 @@ abstract class ObjectRef {
|
| String get id;
|
| }
|
|
|
| -abstract class Object implements ObjectRef {}
|
| +abstract class Object implements ObjectRef {
|
| + /// [optional] If an object is allocated in the Dart heap, it will have
|
| + /// a corresponding class object.
|
| + ///
|
| + /// The class of a non-instance is not a Dart class, but is instead
|
| + /// an internal vm object.
|
| + ///
|
| + /// Moving an Object into or out of the heap is considered a
|
| + /// backwards compatible change for types other than Instance.
|
| + ClassRef get clazz;
|
| +
|
| + /// [optional] The size of this object in the heap.
|
| + ///
|
| + /// If an object is not heap-allocated, then this field is omitted.
|
| + ///
|
| + /// Note that the size can be zero for some objects. In the current
|
| + /// VM implementation, this occurs for small integers, which are
|
| + /// stored entirely within their object pointers.
|
| + int get size;
|
| +}
|
|
|