View | Details | Raw Unified | Return to bug 238845
Collapse All | Expand All

(-)files/patch-deps_v8_src_simulator.h (-1 / +1 lines)
Lines 5-11 Link Here
5
   DISABLE_CFI_ICALL Return Call(Args... args) {
5
   DISABLE_CFI_ICALL Return Call(Args... args) {
6
     // When running without a simulator we call the entry directly.
6
     // When running without a simulator we call the entry directly.
7
-#if V8_OS_AIX
7
-#if V8_OS_AIX
8
+#if V8_TARGET_ARCH_PPC_BE
8
+#if V8_TARGET_ARCH_PPC_BE && (!defined(_CALL_ELF) || _CALL_ELF == 1)
9
     // AIX ABI requires function descriptors (FD).  Artificially create a pseudo
9
     // AIX ABI requires function descriptors (FD).  Artificially create a pseudo
10
     // FD to ensure correct dispatch to generated code.  The 'volatile'
10
     // FD to ensure correct dispatch to generated code.  The 'volatile'
11
     // declaration is required to avoid the compiler from not observing the
11
     // declaration is required to avoid the compiler from not observing the

Return to bug 238845