Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 728110
Collapse All | Expand All

(-)a/deps/v8/src/compiler/backend/instruction-selector.cc (-1 / +1 lines)
Lines 2779-2785 void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { Link Here
2779
  switch (call_descriptor->kind()) {
2779
  switch (call_descriptor->kind()) {
2780
    case CallDescriptor::kCallAddress: {
2780
    case CallDescriptor::kCallAddress: {
2781
      int misc_field = static_cast<int>(call_descriptor->ParameterCount());
2781
      int misc_field = static_cast<int>(call_descriptor->ParameterCount());
2782
#if defined(_AIX)
2782
#if ABI_USES_FUNCTION_DESCRIPTORS
2783
      // Highest misc_field bit is used on AIX to indicate if a CFunction call
2783
      // Highest misc_field bit is used on AIX to indicate if a CFunction call
2784
      // has function descriptor or not.
2784
      // has function descriptor or not.
2785
      if (!call_descriptor->NoFunctionDescriptor()) {
2785
      if (!call_descriptor->NoFunctionDescriptor()) {
(-)a/deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc (-1 / +1 lines)
Lines 1033-1038 Link Here
1033
          linkage()->GetIncomingDescriptor()->IsWasmCapiFunction();
1033
          linkage()->GetIncomingDescriptor()->IsWasmCapiFunction();
1034
      int offset = 9 * kInstrSize;
1034
      int offset = 9 * kInstrSize;
1035
#if defined(_AIX)
1035
#if ABI_USES_FUNCTION_DESCRIPTORS
1036
      // AIX/PPC64BE Linux uses a function descriptor
1036
      // AIX/PPC64BE Linux uses a function descriptor
1037
      int kNumParametersMask = kHasFunctionDescriptorBitMask - 1;
1037
      int kNumParametersMask = kHasFunctionDescriptorBitMask - 1;
1038
      num_parameters = kNumParametersMask & misc_field;
1038
      num_parameters = kNumParametersMask & misc_field;
(-)a/deps/v8/src/execution/simulator.h (-1 / +1 lines)
Lines 128-134 class GeneratedCode { Link Here
128
#if defined(V8_TARGET_OS_WIN) && !defined(V8_OS_WIN)
128
#if defined(V8_TARGET_OS_WIN) && !defined(V8_OS_WIN)
129
    FATAL("Generated code execution not possible during cross-compilation.");
129
    FATAL("Generated code execution not possible during cross-compilation.");
130
#endif  // defined(V8_TARGET_OS_WIN) && !defined(V8_OS_WIN)
130
#endif  // defined(V8_TARGET_OS_WIN) && !defined(V8_OS_WIN)
131
#if V8_OS_AIX
131
#if ABI_USES_FUNCTION_DESCRIPTORS
132
    // AIX ABI requires function descriptors (FD).  Artificially create a pseudo
132
    // AIX ABI requires function descriptors (FD).  Artificially create a pseudo
133
    // FD to ensure correct dispatch to generated code.  The 'volatile'
133
    // FD to ensure correct dispatch to generated code.  The 'volatile'
134
    // declaration is required to avoid the compiler from not observing the
134
    // declaration is required to avoid the compiler from not observing the

Return to bug 728110