Index: src/arm64/instructions-arm64.h |
diff --git a/src/arm64/instructions-arm64.h b/src/arm64/instructions-arm64.h |
index 7d77dae87fc86fb5398f4b3ddf0f2de8fc3efbad..bd4e753779467abf2caa39a2e869987f1b58fb91 100644 |
--- a/src/arm64/instructions-arm64.h |
+++ b/src/arm64/instructions-arm64.h |
@@ -137,7 +137,7 @@ class Instruction { |
// ImmPCRel is a compound field (not present in INSTRUCTION_FIELDS_LIST), |
// formed from ImmPCRelLo and ImmPCRelHi. |
int ImmPCRel() const { |
- ASSERT(IsPCRelAddressing()); |
+ DCHECK(IsPCRelAddressing()); |
int const offset = ((ImmPCRelHi() << ImmPCRelLo_width) | ImmPCRelLo()); |
int const width = ImmPCRelLo_width + ImmPCRelHi_width; |
return signed_bitextract_32(width - 1, 0, offset); |
@@ -364,7 +364,7 @@ class Instruction { |
CheckAlignment check = CHECK_ALIGNMENT) { |
Address addr = reinterpret_cast<Address>(this) + offset; |
// The FUZZ_disasm test relies on no check being done. |
- ASSERT(check == NO_CHECK || IsAddressAligned(addr, kInstructionSize)); |
+ DCHECK(check == NO_CHECK || IsAddressAligned(addr, kInstructionSize)); |
return Cast(addr); |
} |