Index: runtime/vm/debugger_x64.cc |
diff --git a/runtime/vm/debugger_x64.cc b/runtime/vm/debugger_x64.cc |
index 531876d8c4ae11be6a8d74464240c3548962a0c9..4fe2e6a0508da454be2285642e7d4cd9436c3d9d 100644 |
--- a/runtime/vm/debugger_x64.cc |
+++ b/runtime/vm/debugger_x64.cc |
@@ -15,21 +15,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: |
UNREACHABLE(); |
@@ -48,7 +48,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: |