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