GH-125911: Call combine_symbol_mask on the initial trampoline of a trace (GH-125973)

This commit is contained in:
Nadeshiko Manju 2024-10-25 23:43:02 +08:00 committed by GitHub
parent 417c130ba5
commit 7f6e884f3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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];