| Index: runtime/vm/intermediate_language.cc
|
| diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
|
| index 103e8fae3a5ff60a629b27de06fef2049b0c669f..39ca7386f69caeb7e11f402c492e48f39c18b5e1 100644
|
| --- a/runtime/vm/intermediate_language.cc
|
| +++ b/runtime/vm/intermediate_language.cc
|
| @@ -2949,6 +2949,7 @@ CallTargets* CallTargets::CreateAndExpand(Zone* zone, const ICData& ic_data) {
|
| for (int idx = 0; idx < length; idx++) {
|
| int lower_limit_cid = (idx == 0) ? -1 : targets[idx - 1].cid_end;
|
| const Function& target = *targets.TargetAt(idx)->target;
|
| + if (MethodRecognizer::PolymorphicTarget(target)) continue;
|
| for (int i = targets[idx].cid_start - 1; i > lower_limit_cid; i--) {
|
| if (FlowGraphCompiler::LookupMethodFor(i, name, args_desc, &fn) &&
|
| fn.raw() == target.raw()) {
|
| @@ -2964,6 +2965,7 @@ CallTargets* CallTargets::CreateAndExpand(Zone* zone, const ICData& ic_data) {
|
| int upper_limit_cid =
|
| (idx == length - 1) ? 1000000000 : targets[idx + 1].cid_start;
|
| const Function& target = *targets.TargetAt(idx)->target;
|
| + if (MethodRecognizer::PolymorphicTarget(target)) continue;
|
| for (int i = targets[idx].cid_end + 1; i < upper_limit_cid; i++) {
|
| if (FlowGraphCompiler::LookupMethodFor(i, name, args_desc, &fn) &&
|
| fn.raw() == target.raw()) {
|
|
|