mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Small fixes to code generator (#106845)
These repair nits I found in PR gh-106798 (issue gh-106797) and in PR gh-106716 (issue gh-106706).
This commit is contained in:
parent
00e52acebd
commit
1e36ca63f9
3 changed files with 13 additions and 15 deletions
8
Python/generated_cases.c.h
generated
8
Python/generated_cases.c.h
generated
|
@ -3356,7 +3356,7 @@
|
|||
res = self;
|
||||
STACK_GROW(1);
|
||||
stack_pointer[-1] = res;
|
||||
stack_pointer[-(1 + 1)] = res2;
|
||||
stack_pointer[-2] = res2;
|
||||
next_instr += 9;
|
||||
DISPATCH();
|
||||
}
|
||||
|
@ -3378,7 +3378,7 @@
|
|||
res = self;
|
||||
STACK_GROW(1);
|
||||
stack_pointer[-1] = res;
|
||||
stack_pointer[-(1 + 1)] = res2;
|
||||
stack_pointer[-2] = res2;
|
||||
next_instr += 9;
|
||||
DISPATCH();
|
||||
}
|
||||
|
@ -3403,7 +3403,6 @@
|
|||
assert(descr != NULL);
|
||||
Py_DECREF(self);
|
||||
res = Py_NewRef(descr);
|
||||
STACK_GROW(0);
|
||||
stack_pointer[-1] = res;
|
||||
next_instr += 9;
|
||||
DISPATCH();
|
||||
|
@ -3423,7 +3422,6 @@
|
|||
assert(descr != NULL);
|
||||
Py_DECREF(self);
|
||||
res = Py_NewRef(descr);
|
||||
STACK_GROW(0);
|
||||
stack_pointer[-1] = res;
|
||||
next_instr += 9;
|
||||
DISPATCH();
|
||||
|
@ -3450,7 +3448,7 @@
|
|||
res = self;
|
||||
STACK_GROW(1);
|
||||
stack_pointer[-1] = res;
|
||||
stack_pointer[-(1 + 1)] = res2;
|
||||
stack_pointer[-2] = res2;
|
||||
next_instr += 9;
|
||||
DISPATCH();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue