Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index e5da17b7b857b9bddc0c10470e2c0d5938544abf..750746cec3a31723d65d18ff0060963b215820b6 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2643,7 +2643,7 @@ void Assembler::dd(uint32_t data) { |
void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) { |
- ASSERT(rmode != RelocInfo::NONE); |
+ ASSERT(!RelocInfo::IsNone(rmode)); |
// Don't record external references unless the heap will be serialized. |
if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
#ifdef DEBUG |