[php-src] master: Fix merge
| From: | Arnaud Le Blanc | Date: | Tue, 27 Oct 2026 12:32:33 +0000 |
| Subject: | [php-src] master: Fix merge | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142791@lists.php.net to get a copy of this message | ||
Author: Arnaud Le Blanc (arnaud-lb)
Date: 2026-10-27T13:32:15+01:00
Commit: https://github.com/php/php-src/commit/970c027543152dfcd9d89cc890dcf4aedf6b8d78
Raw diff: https://github.com/php/php-src/commit/970c027543152dfcd9d89cc890dcf4aedf6b8d78.diff
Fix merge
Changed paths:
M Zend/zend_types.h
Diff:
diff --git a/Zend/zend_types.h b/Zend/zend_types.h
index fb1c4a932490..c7a44b19bd86 100644
--- a/Zend/zend_types.h
+++ b/Zend/zend_types.h
@@ -23,7 +23,6 @@
#include "zend_portability.h"
#include "zend_long.h"
-#include "zend_atomic.h"
#include <stdbool.h>
#include <stdint.h>
@@ -961,17 +960,6 @@ static zend_always_inline uint32_t zend_gc_delref_ex(zend_refcounted_h *p,
uint3
#define OBJ_EXTRA_FLAGS(obj) ((obj)->extra_flags)
-static zend_always_inline uint32_t zend_atomic_load_acquire_32(const uint32_t *ptr)
-{
-#if defined(__GNUC__) || defined(__clang__) || defined(HAVE_GNUC_ATOMICS)
- return __atomic_load_n(ptr, __ATOMIC_ACQUIRE);
-#else
- uint32_t val = *(const volatile uint32_t *)ptr;
- ZEND_ATOMIC_FENCE_ACQUIRE();
- return val;
-#endif
-}
-
/* Fast class cache */
static zend_always_inline bool zstr_has_ce_cache(const zend_string *s)
{