Index: src/arm64/lithium-gap-resolver-arm64.h |
diff --git a/src/arm64/lithium-gap-resolver-arm64.h b/src/arm64/lithium-gap-resolver-arm64.h |
index 3c4c200a51a4649b90e5e908937f798603b9b12f..2eb651b92419556c3e7cbfa06b9dfd0e5d00848c 100644 |
--- a/src/arm64/lithium-gap-resolver-arm64.h |
+++ b/src/arm64/lithium-gap-resolver-arm64.h |
@@ -68,7 +68,7 @@ class LGapResolver BASE_EMBEDDED { |
// Registers used to solve cycles. |
const Register& SavedValueRegister() { |
- ASSERT(!masm_.ScratchRegister().IsAllocatable()); |
+ DCHECK(!masm_.ScratchRegister().IsAllocatable()); |
return masm_.ScratchRegister(); |
} |
// The scratch register is used to break cycles and to store constant. |
@@ -79,7 +79,7 @@ class LGapResolver BASE_EMBEDDED { |
// We use the Crankshaft floating-point scratch register to break a cycle |
// involving double values as the MacroAssembler will not need it for the |
// operations performed by the gap resolver. |
- ASSERT(!crankshaft_fp_scratch.IsAllocatable()); |
+ DCHECK(!crankshaft_fp_scratch.IsAllocatable()); |
return crankshaft_fp_scratch; |
} |