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

Unified Diff: runtime/vm/dart_entry.h

Issue 2941643002: Check for a passed-in type argument vector in the prolog of generic functions. (Closed)
Patch Set: Created 3 years, 6 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
diff --git a/runtime/vm/dart_entry.h b/runtime/vm/dart_entry.h
index cddad0da2c105ebbaca8230d5c771232c92fb824..9722ed2e9669a94af869b34a22511e63635a0e65 100644
--- a/runtime/vm/dart_entry.h
+++ b/runtime/vm/dart_entry.h
@@ -93,7 +93,8 @@ class ArgumentsDescriptor : public ValueObject {
return kFirstNamedEntryIndex + (kNamedEntrySize * num_named_arguments) + 1;
}
- static RawArray* NewNonCached(intptr_t num_arguments,
+ static RawArray* NewNonCached(intptr_t type_args_len,
+ intptr_t num_arguments,
bool canonicalize = true);
// Used by Simulator to parse argument descriptors.

Powered by Google App Engine
This is Rietveld 408576698