Skip to content

Commit

Permalink
Point at the FDE, not the CIE (whatever that means)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandtbucher committed Nov 13, 2024
1 parent f920730 commit 11a576a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Python/jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ _PyJIT_Compile(_PyExecutorObject *executor, const _PyUOpInstruction trace[], siz
group = &shim;
group->emit(code, data, debug, executor, NULL, &state);
// XXX: This is probably wrong:
__register_frame(debug);
__register_frame(debug + sizeof(uint32_t) + *(uint32_t *)debug);
code += group->code_size;
data += group->data_size;
debug += group->debug_size;
Expand All @@ -531,7 +531,7 @@ _PyJIT_Compile(_PyExecutorObject *executor, const _PyUOpInstruction trace[], siz
group = &stencil_groups[instruction->opcode];
group->emit(code, data, debug, executor, instruction, &state);
// XXX: This is probably wrong:
__register_frame(debug);
__register_frame(debug + sizeof(uint32_t) + *(uint32_t *)debug);
code += group->code_size;
data += group->data_size;
debug += group->debug_size;
Expand All @@ -540,7 +540,7 @@ _PyJIT_Compile(_PyExecutorObject *executor, const _PyUOpInstruction trace[], siz
group = &stencil_groups[_FATAL_ERROR];
group->emit(code, data, debug, executor, NULL, &state);
// XXX: This is probably wrong:
__register_frame(debug);
__register_frame(debug + sizeof(uint32_t) + *(uint32_t *)debug);
code += group->code_size;
data += group->data_size;
debug += group->debug_size;
Expand Down

0 comments on commit 11a576a

Please sign in to comment.