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

Unified Diff: runtime/vm/intermediate_language_dbc.cc

Issue 2987323003: [VM DBC compiler and simulator] Support reified generic functions. (Closed)
Patch Set: address review comments and sync Created 3 years, 4 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/vm/flow_graph_compiler_dbc.cc ('k') | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_dbc.cc
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc
index d4210c08cb4a116d3fa6f542b2feb3cb028c1041..31857939f29ba7334fcee40c2a9e87b5585540d5 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;
« no previous file with comments | « runtime/vm/flow_graph_compiler_dbc.cc ('k') | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698