Index: test/cctest/test-utils-arm64.h |
diff --git a/test/cctest/test-utils-arm64.h b/test/cctest/test-utils-arm64.h |
index 49d43f508f31c075218ca0bcbee76ae9e9c77dff..d00ad5e78cda419be593e4019762b1142daab06e 100644 |
--- a/test/cctest/test-utils-arm64.h |
+++ b/test/cctest/test-utils-arm64.h |
@@ -59,7 +59,7 @@ class RegisterDump { |
if (code == kSPRegInternalCode) { |
return wspreg(); |
} |
- ASSERT(RegAliasesMatch(code)); |
+ DCHECK(RegAliasesMatch(code)); |
return dump_.w_[code]; |
} |
@@ -67,13 +67,13 @@ class RegisterDump { |
if (code == kSPRegInternalCode) { |
return spreg(); |
} |
- ASSERT(RegAliasesMatch(code)); |
+ DCHECK(RegAliasesMatch(code)); |
return dump_.x_[code]; |
} |
// FPRegister accessors. |
inline uint32_t sreg_bits(unsigned code) const { |
- ASSERT(FPRegAliasesMatch(code)); |
+ DCHECK(FPRegAliasesMatch(code)); |
return dump_.s_[code]; |
} |
@@ -82,7 +82,7 @@ class RegisterDump { |
} |
inline uint64_t dreg_bits(unsigned code) const { |
- ASSERT(FPRegAliasesMatch(code)); |
+ DCHECK(FPRegAliasesMatch(code)); |
return dump_.d_[code]; |
} |
@@ -92,19 +92,19 @@ class RegisterDump { |
// Stack pointer accessors. |
inline int64_t spreg() const { |
- ASSERT(SPRegAliasesMatch()); |
+ DCHECK(SPRegAliasesMatch()); |
return dump_.sp_; |
} |
inline int64_t wspreg() const { |
- ASSERT(SPRegAliasesMatch()); |
+ DCHECK(SPRegAliasesMatch()); |
return dump_.wsp_; |
} |
// Flags accessors. |
inline uint64_t flags_nzcv() const { |
- ASSERT(IsComplete()); |
- ASSERT((dump_.flags_ & ~Flags_mask) == 0); |
+ DCHECK(IsComplete()); |
+ DCHECK((dump_.flags_ & ~Flags_mask) == 0); |
return dump_.flags_ & Flags_mask; |
} |
@@ -120,21 +120,21 @@ class RegisterDump { |
// w<code>. A failure of this test most likely represents a failure in the |
// ::Dump method, or a failure in the simulator. |
bool RegAliasesMatch(unsigned code) const { |
- ASSERT(IsComplete()); |
- ASSERT(code < kNumberOfRegisters); |
+ DCHECK(IsComplete()); |
+ DCHECK(code < kNumberOfRegisters); |
return ((dump_.x_[code] & kWRegMask) == dump_.w_[code]); |
} |
// As RegAliasesMatch, but for the stack pointer. |
bool SPRegAliasesMatch() const { |
- ASSERT(IsComplete()); |
+ DCHECK(IsComplete()); |
return ((dump_.sp_ & kWRegMask) == dump_.wsp_); |
} |
// As RegAliasesMatch, but for floating-point registers. |
bool FPRegAliasesMatch(unsigned code) const { |
- ASSERT(IsComplete()); |
- ASSERT(code < kNumberOfFPRegisters); |
+ DCHECK(IsComplete()); |
+ DCHECK(code < kNumberOfFPRegisters); |
return (dump_.d_[code] & kSRegMask) == dump_.s_[code]; |
} |