File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change 49
49
(Note: this mechanism is enabled with FORCE_SWITCHING above)
50
50
*/
51
51
52
- // GH-89279: Force inlining by using a macro.
53
- #if defined(_MSC_VER ) && SIZEOF_INT == 4
54
- #define _Py_atomic_load_relaxed_int32 (ATOMIC_VAL ) (assert(sizeof((ATOMIC_VAL)->_value) == 4), *((volatile int*)&((ATOMIC_VAL)->_value)))
55
- #else
56
- #define _Py_atomic_load_relaxed_int32 (ATOMIC_VAL ) _Py_atomic_load_relaxed(ATOMIC_VAL)
57
- #endif
58
-
59
52
// Atomically copy the bits indicated by mask between two values.
60
53
static inline void
61
54
copy_eval_breaker_bits (uintptr_t * from , uintptr_t * to , uintptr_t mask )
Original file line number Diff line number Diff line change @@ -375,13 +375,6 @@ do { \
375
375
} while (0);
376
376
377
377
378
- // GH-89279: Force inlining by using a macro.
379
- #if defined(_MSC_VER ) && SIZEOF_INT == 4
380
- #define _Py_atomic_load_relaxed_int32 (ATOMIC_VAL ) (assert(sizeof((ATOMIC_VAL)->_value) == 4), *((volatile int*)&((ATOMIC_VAL)->_value)))
381
- #else
382
- #define _Py_atomic_load_relaxed_int32 (ATOMIC_VAL ) _Py_atomic_load_relaxed(ATOMIC_VAL)
383
- #endif
384
-
385
378
static inline int _Py_EnterRecursivePy (PyThreadState * tstate ) {
386
379
return (tstate -> py_recursion_remaining -- <= 0 ) &&
387
380
_Py_CheckRecursiveCallPy (tstate );
You can’t perform that action at this time.
0 commit comments