Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 6118cb57fa26fd424ee21764e0bdcdafb0549a92..56d88b0f5787199fd20b42bbe91aa39f600f828c 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -396,7 +396,7 @@ void Assembler::emit_code_relative_offset(Label* label) { |
void Assembler::emit_w(const Immediate& x) { |
- ASSERT(x.rmode_ == RelocInfo::NONE32); |
+ ASSERT(RelocInfo::IsNone(x.rmode_)); |
uint16_t value = static_cast<uint16_t>(x.x_); |
reinterpret_cast<uint16_t*>(pc_)[0] = value; |
pc_ += sizeof(uint16_t); |