Index: src/arm64/debug-arm64.cc |
diff --git a/src/arm64/debug-arm64.cc b/src/arm64/debug-arm64.cc |
index ee5a94a17e99603a704ad26da0c2c7232e48b50d..7d11c499946f4fb764adc72ccd50d6bfe6edc4bd 100644 |
--- a/src/arm64/debug-arm64.cc |
+++ b/src/arm64/debug-arm64.cc |
@@ -56,6 +56,7 @@ void BreakLocation::SetDebugBreakAtReturn() { |
void BreakLocation::SetDebugBreakAtSlot() { |
+ DCHECK(IsDebugBreakSlot()); |
// Patch the code emitted by DebugCodegen::GenerateSlots, changing the debug |
// break slot code from |
// mov x0, x0 @ nop DEBUG_BREAK_NOP |