Index: src/ppc/assembler-ppc.h |
diff --git a/src/ppc/assembler-ppc.h b/src/ppc/assembler-ppc.h |
index 52e12f505cbe1f2c7c13aa14e115c9a955df19b3..e84d69525198ea0a02aa239506fa62cb714e19a1 100644 |
--- a/src/ppc/assembler-ppc.h |
+++ b/src/ppc/assembler-ppc.h |
@@ -56,8 +56,11 @@ |
#define ABI_RETURNS_OBJECT_PAIRS_IN_REGS \ |
(!V8_HOST_ARCH_PPC || !V8_TARGET_ARCH_PPC64 || V8_TARGET_LITTLE_ENDIAN) |
-#define ABI_TOC_ADDRESSABILITY_VIA_IP \ |
- (V8_HOST_ARCH_PPC && V8_TARGET_ARCH_PPC64 && V8_TARGET_LITTLE_ENDIAN) |
+#if !V8_HOST_ARCH_PPC || (V8_TARGET_ARCH_PPC64 && V8_TARGET_LITTLE_ENDIAN) |
+#define ABI_CALL_VIA_IP 1 |
+#else |
+#define ABI_CALL_VIA_IP 0 |
+#endif |
#if !V8_HOST_ARCH_PPC || V8_OS_AIX || V8_TARGET_ARCH_PPC64 |
#define ABI_TOC_REGISTER Register::kCode_r2 |