Index: runtime/vm/debugger_mips.cc |
=================================================================== |
--- runtime/vm/debugger_mips.cc (revision 31928) |
+++ runtime/vm/debugger_mips.cc (working copy) |
@@ -41,14 +41,7 @@ |
void CodeBreakpoint::PatchCode() { |
ASSERT(!is_enabled_); |
switch (breakpoint_kind_) { |
- case PcDescriptors::kIcCall: { |
- const Code& code = |
- Code::Handle(Function::Handle(function_).unoptimized_code()); |
- saved_value_ = CodePatcher::GetInstanceCallAt(pc_, code, NULL); |
- CodePatcher::PatchInstanceCallAt(pc_, code, |
- StubCode::BreakpointDynamicEntryPoint()); |
- break; |
- } |
+ case PcDescriptors::kIcCall: |
case PcDescriptors::kUnoptStaticCall: |
case PcDescriptors::kRuntimeCall: |
case PcDescriptors::kClosureCall: |
@@ -70,12 +63,7 @@ |
void CodeBreakpoint::RestoreCode() { |
ASSERT(is_enabled_); |
switch (breakpoint_kind_) { |
- case PcDescriptors::kIcCall: { |
- const Code& code = |
- Code::Handle(Function::Handle(function_).unoptimized_code()); |
- CodePatcher::PatchInstanceCallAt(pc_, code, saved_value_); |
- break; |
- } |
+ case PcDescriptors::kIcCall: |
case PcDescriptors::kUnoptStaticCall: |
case PcDescriptors::kClosureCall: |
case PcDescriptors::kRuntimeCall: |