| Index: runtime/vm/deopt_instructions.cc
|
| diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc
|
| index 70a77c5c27dbcdd0cd56a02fcc7c28d65939285b..92eda81fc2338b95f8655d8413318de81443ac26 100644
|
| --- a/runtime/vm/deopt_instructions.cc
|
| +++ b/runtime/vm/deopt_instructions.cc
|
| @@ -265,8 +265,8 @@ class DeoptRetBeforeAddressInstr : public DeoptInstr {
|
| if (pc != 0) {
|
| // If the deoptimization happened at an IC call, update the IC data
|
| // to avoid repeated deoptimization at the same site next time around.
|
| - const ICData& ic_data = ICData::Handle(
|
| - CodePatcher::GetInstanceCallIcDataAt(pc));
|
| + ICData& ic_data = ICData::Handle();
|
| + CodePatcher::GetInstanceCallAt(pc, &ic_data, NULL);
|
| if (!ic_data.IsNull()) {
|
| ic_data.set_deopt_reason(deopt_context->deopt_reason());
|
| }
|
|
|