| Index: runtime/vm/raw_object.h
|
| ===================================================================
|
| --- runtime/vm/raw_object.h (revision 44266)
|
| +++ runtime/vm/raw_object.h (working copy)
|
| @@ -542,7 +542,9 @@
|
| friend class Array;
|
| friend class ByteBuffer;
|
| friend class Code;
|
| + friend class Closure;
|
| friend class FreeListElement;
|
| + friend class Function;
|
| friend class GCMarker;
|
| friend class ExternalTypedData;
|
| friend class ForwardList;
|
| @@ -566,6 +568,7 @@
|
| friend class TypedData;
|
| friend class TypedDataView;
|
| friend class WeakProperty; // StorePointer
|
| + friend class Instance; // StorePointer
|
|
|
| DISALLOW_ALLOCATION();
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject);
|
| @@ -685,6 +688,8 @@
|
| RawObject** to() {
|
| return reinterpret_cast<RawObject**>(&ptr()->source_class_);
|
| }
|
| +
|
| + friend class Function;
|
| };
|
|
|
|
|
| @@ -772,6 +777,8 @@
|
| RawObject** to() {
|
| return reinterpret_cast<RawObject**>(&ptr()->closure_);
|
| }
|
| +
|
| + friend class Function;
|
| };
|
|
|
|
|
|
|