mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 07:41:50 -04:00
Node.js is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
20 lines
738 B
C
20 lines
738 B
C
--- deps/v8/src/codegen/ppc/constants-ppc.h.orig 2023-05-16 06:58:20 UTC
|
|
+++ deps/v8/src/codegen/ppc/constants-ppc.h
|
|
@@ -36,7 +36,7 @@
|
|
#endif
|
|
|
|
#if !(V8_HOST_ARCH_PPC || 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_RETURNS_OBJECT_PAIRS_IN_REGS 1
|
|
#else
|
|
#define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 0
|
|
@@ -44,7 +44,7 @@
|
|
|
|
#if !(V8_HOST_ARCH_PPC || 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
|