--- a/v8/src/codegen/ppc/constants-ppc.h	2020-06-29 21:38:43.000000000 +0800
+++ b/v8/src/codegen/ppc/constants-ppc.h	2025-04-04 02:44:24.000000000 +0800
@@ -29,7 +29,7 @@
 #endif
 
 #if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || V8_OS_AIX || \
-    V8_TARGET_ARCH_PPC64
+    V8_TARGET_ARCH_PPC64 || V8_OS_MACOSX
 #define ABI_PASSES_HANDLES_IN_REGS 1
 #else
 #define ABI_PASSES_HANDLES_IN_REGS 0
