Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: runtime/vm/raw_object.h

Issue 982723002: Fix for issue 20992 - Allow sending static/top-level functions to other isolates which are spawned … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698