aboutsummaryrefslogtreecommitdiff
path: root/www/node/files/patch-deps_v8_src_compiler_backend_instruction-selector.cc
blob: dddaebe14ea242e098ac5bf2880885d53a43e517 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- deps/v8/src/compiler/backend/instruction-selector.cc.orig	2020-04-21 11:38:50 UTC
+++ deps/v8/src/compiler/backend/instruction-selector.cc
@@ -2783,7 +2783,7 @@ void InstructionSelector::VisitCall(Node* node, BasicB
   switch (call_descriptor->kind()) {
     case CallDescriptor::kCallAddress: {
       int misc_field = static_cast<int>(call_descriptor->ParameterCount());
-#if defined(_AIX)
+#if defined(_AIX) || (V8_TARGET_ARCH_PPC_BE && (!defined(_CALL_ELF) || _CALL_ELF == 1))
       // Highest misc_field bit is used on AIX to indicate if a CFunction call
       // has function descriptor or not.
       if (!call_descriptor->NoFunctionDescriptor()) {