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/lib/object_patch.dart

Issue 2799373002: Pass a second type argument vector to all type instantiation calls in the VM. (Closed)
Patch Set: addressed comments 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
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/aot_optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/object_patch.dart
diff --git a/runtime/lib/object_patch.dart b/runtime/lib/object_patch.dart
index 04d450ef47043af55205cce05fdc05bdd62e6118..603911f3ee7034b0895c0baae47e38db80673eda 100644
--- a/runtime/lib/object_patch.dart
+++ b/runtime/lib/object_patch.dart
@@ -59,7 +59,7 @@ class Object {
// Call this function instead of inlining instanceof, thus collecting
// type feedback and reducing code size of unoptimized code.
- bool _instanceOf(instantiator_type_arguments, type)
+ bool _instanceOf(instantiator_type_arguments, function_type_arguments, type)
native "Object_instanceOf";
// Group of functions for implementing fast simple instance of.
@@ -69,7 +69,8 @@ class Object {
// Call this function instead of inlining 'as', thus collecting type
// feedback. Returns receiver.
- _as(instantiator_type_arguments, type) native "Object_as";
+ _as(instantiator_type_arguments, function_type_arguments, type)
+ native "Object_as";
static _symbolMapToStringMap(Map<Symbol, dynamic> map) {
var result = new Map<String, dynamic>();
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/aot_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698