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

Unified Diff: runtime/vm/object.h

Issue 19780002: Convert MethodMirror.returnType to native calls (and more) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index fb7f36bc2bc1160baabaec671672a14bf9ca51ba..29818727bbc409821a8b838865854707d723fb28 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -5876,6 +5876,8 @@ class MirrorReference : public Instance {
StorePointer(&raw_ptr()->referent_, referent.raw());
}
+ static RawFunction* GetFunctionReferent(RawObject* raw_ptr);
siva 2013/07/19 21:01:40 why not make this an instance method: RawFunction
Michael Lippautz (Google) 2013/07/19 22:13:20 Changed to an instance method. The other ones will
+
static RawMirrorReference* New(Heap::Space space = Heap::kNew);
static intptr_t InstanceSize() {

Powered by Google App Engine
This is Rietveld 408576698