Skip to content

Commit

Permalink
Update partial_evaluator_cases.c.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Fidget-Spinner committed Sep 15, 2024
1 parent 06e6fcd commit 0a1d12e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Python/partial_evaluator_cases.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -845,11 +845,13 @@
}

case _LOAD_GLOBAL: {
_Py_UopsLocalsPlusSlot res;
_Py_UopsLocalsPlusSlot *res;
_Py_UopsLocalsPlusSlot null = (_Py_UopsLocalsPlusSlot){NULL, 0};
res = sym_new_not_null(ctx);
res = &stack_pointer[0];
for (int _i = 1; --_i >= 0;) {
res[_i] = sym_new_not_null(ctx);
}
null = sym_new_null(ctx);
stack_pointer[0] = res;
if (oparg & 1) stack_pointer[1] = null;
stack_pointer += 1 + (oparg & 1);
assert(WITHIN_STACK_BOUNDS());
Expand Down

0 comments on commit 0a1d12e

Please sign in to comment.