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:
Guido van Rossum 2023-07-17 18:30:41 -07:00 committed by GitHub
parent 00e52acebd
commit 1e36ca63f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 15 deletions

View file

@ -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();
}