Index: src/ia32/assembler-ia32.h |
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
index 8fb9c39ce386db1b1b19d7c12feae89443760074..ca785e9ea6dbb7bc5bf0fa679c7dba7dad0a9382 100644 |
--- a/src/ia32/assembler-ia32.h |
+++ b/src/ia32/assembler-ia32.h |
@@ -337,12 +337,12 @@ class Immediate BASE_EMBEDDED { |
return Immediate(label); |
} |
- bool is_zero() const { return x_ == 0 && rmode_ == RelocInfo::NONE32; } |
+ bool is_zero() const { return x_ == 0 && RelocInfo::IsNone(rmode_); } |
bool is_int8() const { |
- return -128 <= x_ && x_ < 128 && rmode_ == RelocInfo::NONE32; |
+ return -128 <= x_ && x_ < 128 && RelocInfo::IsNone(rmode_); |
} |
bool is_int16() const { |
- return -32768 <= x_ && x_ < 32768 && rmode_ == RelocInfo::NONE32; |
+ return -32768 <= x_ && x_ < 32768 && RelocInfo::IsNone(rmode_); |
} |
private: |