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

Unified Diff: runtime/vm/object.h

Issue 2859673002: Pass type argument vector to generic functions (if --reify-generic-functions is (Closed)
Patch Set: Created 3 years, 8 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 bbba1cd1e873aa584c6fb87be2fc7679f1b0a284..0d3cebe9b0e6e21f7691341c7e2dd86aa79c9e5c 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2647,14 +2647,16 @@ class Function : public Object {
// Returns true if the argument counts are valid for calling this function.
// Otherwise, it returns false and the reason (if error_message is not NULL).
- bool AreValidArgumentCounts(intptr_t num_arguments,
+ bool AreValidArgumentCounts(intptr_t num_type_arguments,
+ intptr_t num_arguments,
intptr_t num_named_arguments,
String* error_message) const;
- // Returns true if the total argument count and the names of optional
- // arguments are valid for calling this function.
+ // Returns true if the type argument count, total argument count and the names
+ // of optional arguments are valid for calling this function.
// Otherwise, it returns false and the reason (if error_message is not NULL).
- bool AreValidArguments(intptr_t num_arguments,
+ bool AreValidArguments(intptr_t num_type_arguments,
+ intptr_t num_arguments,
const Array& argument_names,
String* error_message) const;
bool AreValidArguments(const ArgumentsDescriptor& args_desc,

Powered by Google App Engine
This is Rietveld 408576698