Files
ports/www/node24/files/patch-deps-v8-src-codegen-ppc-constants-ppc.h
Po-Chuan Hsieh 4cf33e723e www/node24: Add node24 24.0.0
Node.js is a free, open-source, cross-platform JavaScript runtime environment
that lets developers create servers, web apps, command line tools and scripts.
2025-05-18 11:54:29 +08:00

21 lines
681 B
C

--- deps/v8/src/codegen/ppc/constants-ppc.h.orig 2025-05-06 12:36:30 UTC
+++ deps/v8/src/codegen/ppc/constants-ppc.h
@@ -35,7 +35,7 @@
#define ABI_PASSES_HANDLES_IN_REGS 0
#endif
-#if !V8_HOST_ARCH_PPC64 || !V8_TARGET_ARCH_PPC64 || V8_TARGET_LITTLE_ENDIAN || \
+#if !V8_HOST_ARCH_PPC64 || !V8_TARGET_ARCH_PPC64 || \
(defined(_CALL_ELF) && _CALL_ELF == 2)
#define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 1
#else
@@ -44,7 +44,7 @@
#if !V8_HOST_ARCH_PPC64 || \
(V8_TARGET_ARCH_PPC64 && \
- (V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)))
+ (defined(_CALL_ELF) && _CALL_ELF == 2))
#define ABI_CALL_VIA_IP 1
#else
#define ABI_CALL_VIA_IP 0