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

Unified Diff: runtime/lib/internal_patch.dart

Issue 2941643002: Check for a passed-in type argument vector in the prolog of generic functions. (Closed)
Patch Set: address review comments 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
« no previous file with comments | « runtime/lib/function_patch.dart ('k') | runtime/lib/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/internal_patch.dart
diff --git a/runtime/lib/internal_patch.dart b/runtime/lib/internal_patch.dart
index cddf30ad4262172b81561cfa97effbde80317766..a5d9b2da2780983e51657db26cec765ddeac0081 100644
--- a/runtime/lib/internal_patch.dart
+++ b/runtime/lib/internal_patch.dart
@@ -64,3 +64,9 @@ class Lists {
}
}
}
+
+// Prepend the parent type arguments (maybe null) to the function type
+// arguments (may be null). The result is null if both input vectors are null
+// or is a newly allocated and canonicalized vector of length 'len'.
+_prependTypeArguments(functionTypeArguments, parentTypeArguments, len)
+ native "Internal_prependTypeArguments";
« no previous file with comments | « runtime/lib/function_patch.dart ('k') | runtime/lib/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698