Index: runtime/vm/debugger_arm64.cc |
diff --git a/runtime/vm/debugger_arm64.cc b/runtime/vm/debugger_arm64.cc |
index bf6423a38d3b15d408d09cfe2986be2d76ecea1e..8c59d245ff1e52aae8c60761c9d488fc05f56482 100644 |
--- a/runtime/vm/debugger_arm64.cc |
+++ b/runtime/vm/debugger_arm64.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: |
@@ -47,8 +47,7 @@ void CodeBreakpoint::RestoreCode() { |
case RawPcDescriptors::kIcCall: |
case RawPcDescriptors::kUnoptStaticCall: |
case RawPcDescriptors::kRuntimeCall: { |
- CodePatcher::PatchPoolPointerCallAt( |
- pc_, code, Code::Handle(saved_value_)); |
+ CodePatcher::PatchPoolPointerCallAt(pc_, code, saved_value_); |
break; |
} |
default: |