Skip to content

Commit

Permalink
pythongh-125911: Call for combine_symbol_mask on the initial trampoli…
Browse files Browse the repository at this point in the history
…ne for a trace
  • Loading branch information
Zheaoli committed Oct 25, 2024
1 parent ebcc578 commit 2afa7c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Python/jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ _PyJIT_Compile(_PyExecutorObject *executor, const _PyUOpInstruction trace[], siz
group = &trampoline;
code_size += group->code_size;
data_size += group->data_size;
combine_symbol_mask(group->trampoline_mask, state.trampolines.mask);
for (size_t i = 0; i < length; i++) {
const _PyUOpInstruction *instruction = &trace[i];
group = &stencil_groups[instruction->opcode];
Expand Down

0 comments on commit 2afa7c8

Please sign in to comment.