Skip to content

Commit ca95652

Browse files
More clean up
1 parent 74eb9a4 commit ca95652

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/jit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
with:
100100
python-version: '3.11'
101101

102+
# PCbuild downloads LLVM automatically:
102103
- name: Windows
103104
if: runner.os == 'Windows'
104105
run: |

Python/jit.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ patch_32r(unsigned char *location, uint64_t value)
226226
assert((int64_t)value < (1LL << 31));
227227
uint32_t final_value = (uint32_t)value;
228228
memcpy(location, &final_value, sizeof(final_value));
229-
230229
}
231230

232231
// 64-bit absolute address.
@@ -454,7 +453,7 @@ void patch_x86_64_trampoline(unsigned char *location, int ordinal, jit_state *st
454453
#define DATA_ALIGN 8
455454
#elif defined(__x86_64__) && defined(__APPLE__)
456455
// LLVM 20 on macOS x86_64 debug builds: GOT entries may exceed ±2GB PC-relative
457-
// range. Trampolines provide indirect jumps using 64-bit absolute addresses.
456+
// range.
458457
#define TRAMPOLINE_SIZE 16 // 14 bytes + 2 bytes padding for alignment
459458
#define DATA_ALIGN 16
460459
#else

0 commit comments

Comments
 (0)