diff options
Diffstat (limited to 'deps/v8/src/debug/mips/debug-mips.cc')
-rw-r--r-- | deps/v8/src/debug/mips/debug-mips.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/debug/mips/debug-mips.cc b/deps/v8/src/debug/mips/debug-mips.cc index 8e00d61ef5..49320d8a81 100644 --- a/deps/v8/src/debug/mips/debug-mips.cc +++ b/deps/v8/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(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) |