| Index: src/debug/mips64/debug-mips64.cc
|
| diff --git a/src/debug/mips64/debug-mips64.cc b/src/debug/mips64/debug-mips64.cc
|
| index aad095b64d7b93ed8fbf19051c307740aa0fc4d3..2e967d7b8e09f8b66a244b1eea342eb2a54edae6 100644
|
| --- a/src/debug/mips64/debug-mips64.cc
|
| +++ b/src/debug/mips64/debug-mips64.cc
|
| @@ -40,7 +40,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(code->is_debug_stub());
|
| 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)
|
|
|