]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-125911: Call combine_symbol_mask on the initial trampoline of a trace (GH-125973)
authorNadeshiko Manju <me@manjusaka.me>
Fri, 25 Oct 2024 15:43:02 +0000 (23:43 +0800)
committerGitHub <noreply@github.com>
Fri, 25 Oct 2024 15:43:02 +0000 (15:43 +0000)
Python/jit.c

index 963bde2303dc2cba3b4bdb729ea7e29193e5259a..135daeb1b1da80851d0bd07d860bddb26a3a614d 100644 (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];