| Index: runtime/vm/debugger_dbc.cc
|
| diff --git a/runtime/vm/debugger_dbc.cc b/runtime/vm/debugger_dbc.cc
|
| index 83046771b12c4a651c6dc78469d30b3afb5548e6..8287e2bbb0ede80d415a52a6df65a08e97b16465 100644
|
| --- a/runtime/vm/debugger_dbc.cc
|
| +++ b/runtime/vm/debugger_dbc.cc
|
| @@ -19,17 +19,14 @@ RawCode* CodeBreakpoint::OrigStubAddress() const {
|
| return reinterpret_cast<RawCode*>(static_cast<uintptr_t>(saved_value_));
|
| }
|
|
|
| -
|
| static Instr* CallInstructionFromReturnAddress(uword pc) {
|
| return reinterpret_cast<Instr*>(pc) - 1;
|
| }
|
|
|
| -
|
| static Instr* FastSmiInstructionFromReturnAddress(uword pc) {
|
| return reinterpret_cast<Instr*>(pc) - 2;
|
| }
|
|
|
| -
|
| void CodeBreakpoint::PatchCode() {
|
| ASSERT(!is_enabled_);
|
| const Code& code = Code::Handle(code_);
|
| @@ -71,7 +68,6 @@ void CodeBreakpoint::PatchCode() {
|
| is_enabled_ = true;
|
| }
|
|
|
| -
|
| void CodeBreakpoint::RestoreCode() {
|
| ASSERT(is_enabled_);
|
| const Code& code = Code::Handle(code_);
|
|
|