blob: b8985dcef76ddd02100a5cd2eb20b0718b345c5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- deps/v8/src/compiler/backend/instruction-selector.cc.orig 2020-07-20 22:18:45 UTC
+++ deps/v8/src/compiler/backend/instruction-selector.cc
@@ -2808,7 +2808,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()) {
|