| Index: runtime/vm/aot_optimizer.cc
|
| diff --git a/runtime/vm/aot_optimizer.cc b/runtime/vm/aot_optimizer.cc
|
| index 35c50b616ff395855bea70233bf6018e21b31e85..e0d17d0ae57519f66d3836acc8be8598b8d76676 100644
|
| --- a/runtime/vm/aot_optimizer.cc
|
| +++ b/runtime/vm/aot_optimizer.cc
|
| @@ -295,8 +295,9 @@ const ICData& AotOptimizer::TrySpecializeICData(const ICData& ic_data,
|
| return ic_data; // Nothing to do
|
| }
|
|
|
| + intptr_t count = 1;
|
| const Function& function =
|
| - Function::Handle(Z, ic_data.GetTargetForReceiverClassId(cid));
|
| + Function::Handle(Z, ic_data.GetTargetForReceiverClassId(cid, &count));
|
| // TODO(fschneider): Try looking up the function on the class if it is
|
| // not found in the ICData.
|
| if (!function.IsNull()) {
|
|
|