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

Unified Diff: runtime/vm/intermediate_language_dbc.cc

Issue 2987323003: [VM DBC compiler and simulator] Support reified generic functions. (Closed)
Patch Set: Created 3 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/intermediate_language_dbc.cc
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc
index b3f5d4a42f03966f039b5581803af68b7d615a67..c50085871a6c7fe299d1fb897b1584726070f8ac 100644
--- a/runtime/vm/intermediate_language_dbc.cc
+++ b/runtime/vm/intermediate_language_dbc.cc
@@ -251,10 +251,11 @@ EMIT_NATIVE_CODE(PolymorphicInstanceCall,
}
if (using_ranges) {
- __ PushPolymorphicInstanceCallByRange(instance_call()->ArgumentCount(),
- length);
+ __ PushPolymorphicInstanceCallByRange(
+ instance_call()->ArgumentCountWithoutTypeArgs(), length);
} else {
- __ PushPolymorphicInstanceCall(instance_call()->ArgumentCount(), length);
+ __ PushPolymorphicInstanceCall(
+ instance_call()->ArgumentCountWithoutTypeArgs(), length);
}
for (intptr_t i = 0; i < length; i++) {
const Function& target = *targets_.TargetAt(i)->target;

Powered by Google App Engine
This is Rietveld 408576698