Chromium Code Reviews| 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..1f849168611861474ce6332871529ef0c2adc464 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; |
|
Cutch
2016/08/15 23:27:08
why is this commented out?
cbernaschina
2016/08/16 00:01:44
Done.
|
| + |
| + /// [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; |
|
Cutch
2016/08/15 23:27:08
why is this commented out?
cbernaschina
2016/08/16 00:01:44
Done.
|
| +} |