Index: runtime/vm/flow_graph_optimizer.cc |
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc |
index 85c18ab0355e8ec4017aedc933d4b7908254d539..70621d3197e91adade5aa9302a608c83e3a7f4c8 100644 |
--- a/runtime/vm/flow_graph_optimizer.cc |
+++ b/runtime/vm/flow_graph_optimizer.cc |
@@ -196,7 +196,8 @@ bool FlowGraphOptimizer::TryCreateICData(InstanceCallInstr* call) { |
Resolver::ResolveDynamicForReceiverClass( |
receiver_class, |
call->function_name(), |
- args_desc)); |
+ args_desc, |
+ false /* allow add */)); |
if (function.IsNull()) { |
return false; |
} |
@@ -255,7 +256,8 @@ bool FlowGraphOptimizer::TryCreateICData(InstanceCallInstr* call) { |
const Function& function = Function::Handle(Z, |
Resolver::ResolveDynamicForReceiverClass(owner_class, |
call->function_name(), |
- args_desc)); |
+ args_desc, |
+ false /* allow_add */)); |
if (!function.IsNull()) { |
const ICData& ic_data = ICData::ZoneHandle(Z, |
ICData::NewFrom(*call->ic_data(), class_ids.length())); |