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..86881eba6e49742cd3bad3340db7a7b259131fba 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_EQ(Code::DEBUG_STUB, code->kind()); |
PatchingAssembler patcher(isolate, reinterpret_cast<Instruction*>(pc), |
Assembler::kDebugBreakSlotInstructions); |
// Patch the code emitted by DebugCodegen::GenerateSlots, changing the debug |