Changeset View
Changeset View
Standalone View
Standalone View
www/node/files/patch-deps_v8_src_execution_simulator.h
--- deps/v8/src/execution/simulator.h.orig 2019-04-26 17:47:06 UTC | --- deps/v8/src/execution/simulator.h.orig 2019-09-04 15:36:23 UTC | ||||
+++ deps/v8/src/execution/simulator.h | +++ deps/v8/src/execution/simulator.h | ||||
@@ -124,7 +124,7 @@ class GeneratedCode { | @@ -124,7 +124,7 @@ class GeneratedCode { | ||||
DISABLE_CFI_ICALL Return Call(Args... args) { | DISABLE_CFI_ICALL Return Call(Args... args) { | ||||
// When running without a simulator we call the entry directly. | // When running without a simulator we call the entry directly. | ||||
-#if V8_OS_AIX | -#if V8_OS_AIX | ||||
+#if V8_TARGET_ARCH_PPC_BE | +#if V8_OS_AIX || (V8_TARGET_ARCH_PPC_BE && (!defined(_CALL_ELF) || _CALL_ELF == 1)) | ||||
// AIX ABI requires function descriptors (FD). Artificially create a pseudo | // AIX ABI requires function descriptors (FD). Artificially create a pseudo | ||||
// FD to ensure correct dispatch to generated code. The 'volatile' | // FD to ensure correct dispatch to generated code. The 'volatile' | ||||
// declaration is required to avoid the compiler from not observing the | // declaration is required to avoid the compiler from not observing the |