| Index: runtime/vm/debugger_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/debugger_ia32.cc (revision 31995)
|
| +++ runtime/vm/debugger_ia32.cc (working copy)
|
| @@ -50,8 +50,7 @@
|
| case PcDescriptors::kRuntimeCall:
|
| case PcDescriptors::kClosureCall:
|
| case PcDescriptors::kReturn: {
|
| - const Code& code =
|
| - Code::Handle(Function::Handle(function_).unoptimized_code());
|
| + const Code& code = Code::Handle(code_);
|
| saved_value_ = CodePatcher::GetStaticCallTargetAt(pc_, code);
|
| CodePatcher::PatchStaticCallAt(pc_, code,
|
| StubCode::BreakpointRuntimeEntryPoint());
|
| @@ -72,8 +71,7 @@
|
| case PcDescriptors::kClosureCall:
|
| case PcDescriptors::kRuntimeCall:
|
| case PcDescriptors::kReturn: {
|
| - const Code& code =
|
| - Code::Handle(Function::Handle(function_).unoptimized_code());
|
| + const Code& code = Code::Handle(code_);
|
| CodePatcher::PatchStaticCallAt(pc_, code, saved_value_);
|
| break;
|
| }
|
|
|