Skip to content

Commit 138f037

Browse files
committed
Remove unneeded type assignment in _GUARD_TOS_UNICODE
1 parent 6db1a79 commit 138f037

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Python/optimizer_bytecodes.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,6 @@ dummy_func(void) {
418418
if (sym_matches_type(value, &PyUnicode_Type)) {
419419
REPLACE_OP(this_instr, _NOP, 0, 0);
420420
}
421-
sym_set_type(value, &PyUnicode_Type);
422421
}
423422

424423
op(_TO_BOOL_STR, (value -- res)) {

Python/optimizer_cases.c.h

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)