Skip to content

Commit 1f6bdfc

Browse files
committed
fixup
1 parent d66cc85 commit 1f6bdfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/jit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ _PyJIT_Compile(_PyExecutorObject *executor, const _PyUOpInstruction trace[], siz
526526
assert((page_size & (page_size - 1)) == 0);
527527
size_t code_padding = DATA_ALIGN - ((code_size + state.trampolines.size) & (DATA_ALIGN - 1));
528528
size_t padding = page_size - ((code_size + state.trampolines.size + code_padding + data_size) & (page_size - 1));
529-
size_t total_size = code_size + state.trampolines.size + data_size + padding;
529+
size_t total_size = code_size + state.trampolines.size + code_padding + data_size + padding;
530530
unsigned char *memory = jit_alloc(total_size);
531531
if (memory == NULL) {
532532
return -1;

0 commit comments

Comments
 (0)