Chromium Code Reviews| Index: runtime/vm/raw_object.h |
| diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h |
| index 71b64583372e05a9864deaabf609df639c5bd090..14b51236c5d11394b44fa9644f90f619b97891d2 100644 |
| --- a/runtime/vm/raw_object.h |
| +++ b/runtime/vm/raw_object.h |
| @@ -150,6 +150,9 @@ enum ClassId { |
| // Illegal class id. |
| kIllegalCid = 0, |
| + // A sentinel used by the vm service's heap snapshots. |
|
Cutch
2016/11/28 18:11:12
used by ... to represent a stack frame.
rmacnak
2016/11/28 22:57:56
Done.
|
| + kStackCid = 1, |
| + |
| // The following entries describes classes for pseudo-objects in the heap |
| // that should never be reachable from live objects. Free list elements |
| // maintain the free list for old space, and forwarding corpses are used to |
| @@ -179,7 +182,7 @@ enum ClassId { |
| kByteBufferCid, |
| // The following entries do not describe a predefined class, but instead |
| - // are class indexes for pre-allocated instance (Null, dynamic and Void). |
| + // are class indexes for pre-allocated instances (Null, dynamic and Void). |
| kNullCid, |
| kDynamicCid, |
| kVoidCid, |
| @@ -618,6 +621,7 @@ class RawObject { |
| friend class StackFrame; // GetCodeObject assertion. |
| friend class CodeLookupTableBuilder; // profiler |
| friend class NativeEntry; // GetClassId |
| + friend class WritePointerVisitor; // GetClassId |
| friend class Simulator; |
| friend class SimulatorHelpers; |
| friend class ObjectLocator; |