Commit 486d1819 authored by alph's avatar alph Committed by Commit bot

Fix MIPS compile after r37397

BUG=v8:5117
TBR=yangguo@chromium.org,ivica.bogosavljevic@imgtec.com

Review-Url: https://codereview.chromium.org/2105553007
Cr-Commit-Position: refs/heads/master@{#37403}
parent c84156f0
...@@ -3006,9 +3006,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { ...@@ -3006,9 +3006,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {
if (rmode >= RelocInfo::COMMENT && if (rmode >= RelocInfo::COMMENT &&
rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_TAIL_CALL) { rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_TAIL_CALL) {
// Adjust code for new modes. // Adjust code for new modes.
DCHECK(RelocInfo::IsDebugBreakSlot(rmode) DCHECK(RelocInfo::IsDebugBreakSlot(rmode) || RelocInfo::IsComment(rmode));
|| RelocInfo::IsComment(rmode)
|| RelocInfo::IsPosition(rmode));
// These modes do not need an entry in the constant pool. // These modes do not need an entry in the constant pool.
} }
if (!RelocInfo::IsNone(rinfo.rmode())) { if (!RelocInfo::IsNone(rinfo.rmode())) {
......
...@@ -3273,9 +3273,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { ...@@ -3273,9 +3273,7 @@ void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {
if (rmode >= RelocInfo::COMMENT && if (rmode >= RelocInfo::COMMENT &&
rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_TAIL_CALL) { rmode <= RelocInfo::DEBUG_BREAK_SLOT_AT_TAIL_CALL) {
// Adjust code for new modes. // Adjust code for new modes.
DCHECK(RelocInfo::IsDebugBreakSlot(rmode) DCHECK(RelocInfo::IsDebugBreakSlot(rmode) || RelocInfo::IsComment(rmode));
|| RelocInfo::IsComment(rmode)
|| RelocInfo::IsPosition(rmode));
// These modes do not need an entry in the constant pool. // These modes do not need an entry in the constant pool.
} }
if (!RelocInfo::IsNone(rinfo.rmode())) { if (!RelocInfo::IsNone(rinfo.rmode())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment