Index: runtime/vm/debugger_mips.cc |
=================================================================== |
--- runtime/vm/debugger_mips.cc (revision 31995) |
+++ runtime/vm/debugger_mips.cc (working copy) |
@@ -46,8 +46,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()); |
@@ -68,8 +67,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; |
} |