Skip to content

Commit 23ae776

Browse files
committed
Regen cases post merge
1 parent d13b9a3 commit 23ae776

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

Python/optimizer_bytecodes.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,17 +1138,6 @@ dummy_func(void) {
11381138
}
11391139
}
11401140

1141-
op(_GUARD_IS_TRUE_POP, (flag -- )) {
1142-
sym_apply_predicate_narrowing(ctx, flag, true);
1143-
1144-
if (sym_is_const(ctx, flag)) {
1145-
PyObject *value = sym_get_const(ctx, flag);
1146-
assert(value != NULL);
1147-
eliminate_pop_guard(this_instr, ctx, value != Py_True);
1148-
}
1149-
sym_set_const(flag, Py_True);
1150-
}
1151-
11521141
op(_CALL_LIST_APPEND, (callable, self, arg -- none, c, s)) {
11531142
(void)(arg);
11541143
c = callable;
@@ -1186,6 +1175,8 @@ dummy_func(void) {
11861175
}
11871176

11881177
op(_GUARD_IS_TRUE_POP, (flag -- )) {
1178+
sym_apply_predicate_narrowing(ctx, flag, true);
1179+
11891180
if (sym_is_const(ctx, flag)) {
11901181
PyObject *value = sym_get_const(ctx, flag);
11911182
assert(value != NULL);

Python/optimizer_cases.c.h

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

0 commit comments

Comments
 (0)