Index: src/arm64/regexp-macro-assembler-arm64.h |
diff --git a/src/arm64/regexp-macro-assembler-arm64.h b/src/arm64/regexp-macro-assembler-arm64.h |
index ddc71fcc0d2dc173a310f383509e3f58101df80d..a27cff0566dbbe1dcec0a2d8b758f9f1289af750 100644 |
--- a/src/arm64/regexp-macro-assembler-arm64.h |
+++ b/src/arm64/regexp-macro-assembler-arm64.h |
@@ -231,7 +231,7 @@ class RegExpMacroAssemblerARM64: public NativeRegExpMacroAssembler { |
}; |
RegisterState GetRegisterState(int register_index) { |
- ASSERT(register_index >= 0); |
+ DCHECK(register_index >= 0); |
if (register_index >= kNumCachedRegisters) { |
return STACKED; |
} else { |