Index: runtime/vm/debugger_ia32.cc |
diff --git a/runtime/vm/debugger_ia32.cc b/runtime/vm/debugger_ia32.cc |
index 9c4473ba32a2863208738b3f955e3d9c03bca13c..c900f75fa13eccfb4a9b5e35eabad10ba3faf861 100644 |
--- a/runtime/vm/debugger_ia32.cc |
+++ b/runtime/vm/debugger_ia32.cc |
@@ -30,7 +30,7 @@ void CodeBreakpoint::PatchCode() { |
const Instructions& instrs = Instructions::Handle(code.instructions()); |
Code& stub_target = Code::Handle(); |
{ |
- WritableInstructionsScope writable(instrs.EntryPoint(), instrs.size()); |
+ WritableInstructionsScope writable(instrs.PayloadStart(), instrs.size()); |
switch (breakpoint_kind_) { |
case RawPcDescriptors::kIcCall: |
case RawPcDescriptors::kUnoptStaticCall: { |
@@ -57,7 +57,7 @@ void CodeBreakpoint::RestoreCode() { |
const Code& code = Code::Handle(code_); |
const Instructions& instrs = Instructions::Handle(code.instructions()); |
{ |
- WritableInstructionsScope writable(instrs.EntryPoint(), instrs.size()); |
+ WritableInstructionsScope writable(instrs.PayloadStart(), instrs.size()); |
switch (breakpoint_kind_) { |
case RawPcDescriptors::kIcCall: |
case RawPcDescriptors::kUnoptStaticCall: |