Skip to content

Commit 1ceb1fb

Browse files
authored
gh-146261: Fix bug in _Py_uop_sym_set_func_version (GH-146291)
1 parent 161329c commit 1ceb1fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer_symbols.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ _Py_uop_sym_set_func_version(JitOptContext *ctx, JitOptRef ref, uint32_t version
522522
case JIT_SYM_PREDICATE_TAG:
523523
case JIT_SYM_TRUTHINESS_TAG:
524524
sym_set_bottom(ctx, sym);
525-
return true;
525+
return false;
526526
case JIT_SYM_RECORDED_VALUE_TAG: {
527527
PyObject *val = sym->recorded_value.value;
528528
if (Py_TYPE(val) != &PyFunction_Type ||

0 commit comments

Comments
 (0)