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

Unified Diff: runtime/vm/dart_entry.h

Issue 18463003: Implement the invoke methods (invoke, getField, setField, newInstance, apply) as internal natives. (Closed) Base URL: http://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/dart_entry.h
===================================================================
--- runtime/vm/dart_entry.h (revision 25019)
+++ runtime/vm/dart_entry.h (working copy)
@@ -142,6 +142,13 @@
const String& target_name,
const Array& arguments,
const Array& arguments_descriptor);
+
+ // Invokes a generative constructor, redirecting constructor, factory or
+ // redirecting factory. On success, returns a RawInstance. On failure,
+ // a RawError.
+ static RawObject* InvokeConstructor(const Class& klass,
+ const Function &constructor,
+ const Array& arguments);
};

Powered by Google App Engine
This is Rietveld 408576698