Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 291e5b01d9fa3045666c8e4f1600f7ade507401a..0f6fa2f805b54ab2ea13959ddfb13b6279a522b1 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -33,10 +33,20 @@ |
#if V8_TARGET_ARCH_IA32 || (V8_TARGET_ARCH_X64 && !V8_TARGET_ARCH_32_BIT) || \ |
V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS || \ |
V8_TARGET_ARCH_MIPS64 || V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_X87 |
+ |
#define V8_TURBOFAN_BACKEND 1 |
+#if V8_TARGET_ARCH_X64 || V8_TARGET_ARCH_ARM64 || V8_TARGET_ARCH_MIPS64 || \ |
+ V8_TARGET_ARCH_PPC64 |
+// 64-bit TurboFan backends support 64-bit integer arithmetic. |
+#define V8_TURBOFAN_BACKEND_64 1 |
+#else |
+#define V8_TURBOFAN_BACKEND_64 0 |
+#endif |
+ |
#else |
#define V8_TURBOFAN_BACKEND 0 |
#endif |
+ |
#if V8_TURBOFAN_BACKEND |
#define V8_TURBOFAN_TARGET 1 |
#else |