| Index: src/debug/mips/debug-mips.cc
|
| diff --git a/src/debug/mips/debug-mips.cc b/src/debug/mips/debug-mips.cc
|
| index 8e00d61ef5dfd31653f986b2bfd57417df0ba93b..5c8a41667920b8a7116b8fee049e3f34c4dc62d0 100644
|
| --- a/src/debug/mips/debug-mips.cc
|
| +++ b/src/debug/mips/debug-mips.cc
|
| @@ -41,7 +41,7 @@ void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) {
|
|
|
| void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc,
|
| Handle<Code> code) {
|
| - DCHECK_EQ(Code::BUILTIN, code->kind());
|
| + DCHECK_EQ(Code::DEBUG_STUB, code->kind());
|
| CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions);
|
| // Patch the code changing the debug break slot code from:
|
| // nop(DEBUG_BREAK_NOP) - nop(1) is sll(zero_reg, zero_reg, 1)
|
|
|