Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 7814c624596e4c151a7e373966644250ae56bbf2..662ad923baab283f55579ebe5c80f502bfda986e 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -835,7 +835,7 @@ bool Smi::IsValid(intptr_t value) { |
bool in_range = (value >= kMinValue) && (value <= kMaxValue); |
#endif |
-#ifdef V8_LONG_SMI |
+#ifdef V8_TARGET_ARCH_X64 |
// To be representable as a long smi, the value must be a 32-bit integer. |
bool result = (value == static_cast<int32_t>(value)); |
#else |