Index: runtime/vm/debugger_mips.cc |
diff --git a/runtime/vm/debugger_mips.cc b/runtime/vm/debugger_mips.cc |
index 8a02ca846e1c522f7a38383ea336c7f8d6076479..651714b08e318b6403d95eca8a13c227d202f84a 100644 |
--- a/runtime/vm/debugger_mips.cc |
+++ b/runtime/vm/debugger_mips.cc |
@@ -13,21 +13,21 @@ |
namespace dart { |
-RawCode* CodeBreakpoint::OrigStubAddress() const { |
+uword CodeBreakpoint::OrigStubAddress() const { |
return saved_value_; |
} |
void CodeBreakpoint::PatchCode() { |
ASSERT(!is_enabled_); |
- Code& stub_target = Code::Handle(); |
+ uword stub_target = 0; |
switch (breakpoint_kind_) { |
case RawPcDescriptors::kIcCall: |
case RawPcDescriptors::kUnoptStaticCall: |
- stub_target = StubCode::ICCallBreakpoint_entry()->code(); |
+ stub_target = StubCode::ICCallBreakpoint_entry()->EntryPoint(); |
break; |
case RawPcDescriptors::kRuntimeCall: |
- stub_target = StubCode::RuntimeCallBreakpoint_entry()->code(); |
+ stub_target = StubCode::RuntimeCallBreakpoint_entry()->EntryPoint(); |
break; |
default: |
UNREACHABLE(); |
@@ -46,7 +46,7 @@ void CodeBreakpoint::RestoreCode() { |
case RawPcDescriptors::kIcCall: |
case RawPcDescriptors::kUnoptStaticCall: |
case RawPcDescriptors::kRuntimeCall: { |
- CodePatcher::PatchStaticCallAt(pc_, code, Code::Handle(saved_value_)); |
+ CodePatcher::PatchStaticCallAt(pc_, code, saved_value_); |
break; |
} |
default: |