Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 7b41defabfecd86fbf47cfe8206e59f099f40591..3127bfcdb82ff1532d3b4b8a3073f85cdc19cf5d 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -406,7 +406,7 @@ void MacroAssembler::Set(const Operand& dst, const Immediate& x) { |
bool MacroAssembler::IsUnsafeImmediate(const Immediate& x) { |
static const int kMaxImmediateBits = 17; |
- if (x.rmode_ != RelocInfo::NONE) return false; |
+ if (RelocInfo::IsNone(x.rmode_)) return false; |
ulan
2013/01/03 12:46:22
This should be:
if (!RelocInfo::IsNone(x.rmode_))
JF
2013/01/03 16:25:03
Ah yes, sorry about that! Did you also fix that on
|
return !is_intn(x.x_, kMaxImmediateBits); |
} |