The _Py_atomic_load_relaxed_int32 macro is no longer used:
|
// GH-89279: Force inlining by using a macro. |
|
#if defined(_MSC_VER) && SIZEOF_INT == 4 |
|
#define _Py_atomic_load_relaxed_int32(ATOMIC_VAL) (assert(sizeof((ATOMIC_VAL)->_value) == 4), *((volatile int*)&((ATOMIC_VAL)->_value))) |
|
#else |
|
#define _Py_atomic_load_relaxed_int32(ATOMIC_VAL) _Py_atomic_load_relaxed(ATOMIC_VAL) |
|
#endif |
|
// GH-89279: Force inlining by using a macro. |
|
#if defined(_MSC_VER) && SIZEOF_INT == 4 |
|
#define _Py_atomic_load_relaxed_int32(ATOMIC_VAL) (assert(sizeof((ATOMIC_VAL)->_value) == 4), *((volatile int*)&((ATOMIC_VAL)->_value))) |
|
#else |
|
#define _Py_atomic_load_relaxed_int32(ATOMIC_VAL) _Py_atomic_load_relaxed(ATOMIC_VAL) |
|
#endif |
Linked PRs