|
|
@ -6,7 +6,19 @@ diff -up chromium-131.0.6778.69/base/compiler_specific.h.me chromium-131.0.6778.
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// ```
|
|
|
|
// ```
|
|
|
|
-#if __has_cpp_attribute(clang::musttail)
|
|
|
|
-#if __has_cpp_attribute(clang::musttail)
|
|
|
|
+#if defined(__clang__) && __has_cpp_attribute(clang::musttail) && !defined(__powerpc64__)
|
|
|
|
+#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc64__)
|
|
|
|
#define MUSTTAIL [[clang::musttail]]
|
|
|
|
#define MUSTTAIL [[clang::musttail]]
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define MUSTTAIL
|
|
|
|
#define MUSTTAIL
|
|
|
|
|
|
|
|
diff -up chromium-131.0.6778.85/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h.me chromium-131.0.6778.85/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h
|
|
|
|
|
|
|
|
--- chromium-131.0.6778.85/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h.me 2024-11-20 18:50:28.690761262 +0100
|
|
|
|
|
|
|
|
+++ chromium-131.0.6778.85/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/compiler_specific.h 2024-11-20 18:54:49.374711202 +0100
|
|
|
|
|
|
|
|
@@ -138,7 +138,7 @@
|
|
|
|
|
|
|
|
// PA_MUSTTAIL return Func1(d + 1); // `Func1()` will be tail-called.
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// ```
|
|
|
|
|
|
|
|
-#if PA_HAS_CPP_ATTRIBUTE(clang::musttail)
|
|
|
|
|
|
|
|
+#if PA_HAS_CPP_ATTRIBUTE(clang::musttail) && !defined(__powerpc64__)
|
|
|
|
|
|
|
|
#define PA_MUSTTAIL [[clang::musttail]]
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define PA_MUSTTAIL
|
|
|
|