| Index: src/debug/arm64/debug-arm64.cc
|
| diff --git a/src/debug/arm64/debug-arm64.cc b/src/debug/arm64/debug-arm64.cc
|
| index cd017219d258a2e920972511189db8d498509898..bf7964a7bedc0441daff74306c87c9dc56c1353c 100644
|
| --- a/src/debug/arm64/debug-arm64.cc
|
| +++ b/src/debug/arm64/debug-arm64.cc
|
| @@ -43,7 +43,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());
|
| PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc),
|
| Assembler::kDebugBreakSlotInstructions);
|
| // Patch the code emitted by DebugCodegen::GenerateSlots, changing the debug
|
|
|