From 6e9b085781365950d8291880e22e063a3648271b Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Fri, 12 May 2023 14:26:54 -0700 Subject: [PATCH 1/2] GH-94841: Fix usage of Py_ALWAYS_INLINE --- Objects/obmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index fae9c8110f1928..b9529e418d4f9e 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -1445,7 +1445,7 @@ static arena_map_bot_t arena_map_root; /* Return a pointer to a bottom tree node, return NULL if it doesn't exist or * it cannot be created */ -static Py_ALWAYS_INLINE arena_map_bot_t * +static inline Py_ALWAYS_INLINE arena_map_bot_t * arena_map_get(block *p, int create) { #ifdef USE_INTERIOR_NODES From 912cd13ac4068925e1d045b85aa7c350fdaf48d2 Mon Sep 17 00:00:00 2001 From: Brandt Bucher Date: Thu, 11 May 2023 23:16:15 -0700 Subject: [PATCH 2/2] [3.11] GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104409). (cherry picked from commit a10b026f0fdceac42c4b928917894d77da996555) Co-authored-by: Brandt Bucher