Index: src/arm64/assembler-arm64.cc |
diff --git a/src/arm64/assembler-arm64.cc b/src/arm64/assembler-arm64.cc |
index 31c8ad9c560616c20666af2f38a402271553d2c6..af4eb99527888b1ce76dfbd82fb71c4bf63cd2e3 100644 |
--- a/src/arm64/assembler-arm64.cc |
+++ b/src/arm64/assembler-arm64.cc |
@@ -2901,16 +2901,15 @@ void Assembler::GrowBuffer() { |
void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
// We do not try to reuse pool constants. |
RelocInfo rinfo(reinterpret_cast<byte*>(pc_), rmode, data, NULL); |
- if (((rmode >= RelocInfo::JS_RETURN) && |
+ if (((rmode >= RelocInfo::COMMENT) && |
(rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_CONSTRUCT_CALL)) || |
(rmode == RelocInfo::INTERNAL_REFERENCE) || |
(rmode == RelocInfo::CONST_POOL) || (rmode == RelocInfo::VENEER_POOL) || |
(rmode == RelocInfo::DEOPT_REASON) || |
(rmode == RelocInfo::GENERATOR_CONTINUATION)) { |
// Adjust code for new modes. |
- DCHECK(RelocInfo::IsDebugBreakSlot(rmode) || RelocInfo::IsJSReturn(rmode) || |
- RelocInfo::IsComment(rmode) || RelocInfo::IsDeoptReason(rmode) || |
- RelocInfo::IsPosition(rmode) || |
+ DCHECK(RelocInfo::IsDebugBreakSlot(rmode) || RelocInfo::IsComment(rmode) || |
+ RelocInfo::IsDeoptReason(rmode) || RelocInfo::IsPosition(rmode) || |
RelocInfo::IsInternalReference(rmode) || |
RelocInfo::IsConstPool(rmode) || RelocInfo::IsVeneerPool(rmode) || |
RelocInfo::IsGeneratorContinuation(rmode)); |