Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index f86417469fcfc97739f746c256d04b2a67ffed64..67acbf0c9c4cfab4fbd1e2327926adbe019ab6da 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -53,7 +53,7 @@ void Assembler::emitl(uint32_t x) { |
void Assembler::emitq(uint64_t x, RelocInfo::Mode rmode) { |
Memory::uint64_at(pc_) = x; |
- if (rmode != RelocInfo::NONE) { |
+ if (!RelocInfo::IsNone(rmode)) { |
RecordRelocInfo(rmode, x); |
} |
pc_ += sizeof(uint64_t); |