mirror of
https://github.com/python/cpython.git
synced 2025-10-26 03:04:41 +00:00
gh-137728 gh-137762: Fix bugs in the JIT with many local variables (GH-137764)
This commit is contained in:
parent
eae9d7de1c
commit
7fda8b66de
3 changed files with 9 additions and 4 deletions
|
|
@ -484,13 +484,10 @@ optimize_uops(
|
|||
_Py_uop_abstractcontext_init(ctx);
|
||||
_Py_UOpsAbstractFrame *frame = _Py_uop_frame_new(ctx, co, curr_stacklen, NULL, 0);
|
||||
if (frame == NULL) {
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
ctx->curr_frame_depth++;
|
||||
ctx->frame = frame;
|
||||
ctx->done = false;
|
||||
ctx->out_of_space = false;
|
||||
ctx->contradiction = false;
|
||||
|
||||
_PyUOpInstruction *this_instr = NULL;
|
||||
for (int i = 0; !ctx->done; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue