diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-13 04:53:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 04:53:30 (GMT) |
commit | 9d2c10bee3d8c756d395b840192dc3efd6ba8134 (patch) | |
tree | 4b208d7515038ff271b15f2a8eb6b25e7cb75b13 /Python | |
parent | 6e855b30a9e63ece55c595dc3ee3fbd520aafa79 (diff) | |
download | cpython-9d2c10bee3d8c756d395b840192dc3efd6ba8134.zip cpython-9d2c10bee3d8c756d395b840192dc3efd6ba8134.tar.gz cpython-9d2c10bee3d8c756d395b840192dc3efd6ba8134.tar.bz2 |
[3.13] GH-118844: Fix build failures when combining --disable-gil with --enable-experimental-jit (GH-118959)
(cherry picked from commit 5b941e57c71d7d0ab983d81a169f892662cfe446)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r-- | Python/jit.c | 1 | ||||
-rw-r--r-- | Python/perf_jit_trampoline.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Python/jit.c b/Python/jit.c index 7c316a4..d0c0d24 100644 --- a/Python/jit.c +++ b/Python/jit.c @@ -5,6 +5,7 @@ #include "pycore_abstract.h" #include "pycore_call.h" #include "pycore_ceval.h" +#include "pycore_critical_section.h" #include "pycore_dict.h" #include "pycore_intrinsics.h" #include "pycore_long.h" diff --git a/Python/perf_jit_trampoline.c b/Python/perf_jit_trampoline.c index 2a29318..0a89459 100644 --- a/Python/perf_jit_trampoline.c +++ b/Python/perf_jit_trampoline.c @@ -174,8 +174,8 @@ static const uint8_t DwarfDataRel = 0x30; typedef struct { unsigned char version; unsigned char eh_frame_ptr_enc; - unsigned char fde_count_enc; - unsigned char table_enc; + unsigned char fde_count_enc; + unsigned char table_enc; int32_t eh_frame_ptr; int32_t eh_fde_count; int32_t from; |