| Index: runtime/vm/debugger.cc
|
| ===================================================================
|
| --- runtime/vm/debugger.cc (revision 15090)
|
| +++ runtime/vm/debugger.cc (working copy)
|
| @@ -1403,9 +1403,10 @@
|
| }
|
| } else if (bpt->breakpoint_kind_ == PcDescriptors::kFuncCall) {
|
| func_to_instrument = bpt->function();
|
| - Function& callee = Function::Handle();
|
| - uword target;
|
| - CodePatcher::GetStaticCallAt(bpt->pc_, &callee, &target);
|
| + const Code& code = Code::Handle(func_to_instrument.CurrentCode());
|
| + const Function& callee =
|
| + Function::Handle(code.GetStaticCallTargetFunctionAt(bpt->pc_));
|
| + ASSERT(!callee.IsNull());
|
| if (IsDebuggable(callee)) {
|
| func_to_instrument = callee.raw();
|
| }
|
|
|