File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2744,11 +2744,11 @@ _Py_Specialize_ToBool(_PyStackRef value_o, _Py_CODEUNIT *instr)
27442744 unsigned int version = 0 ;
27452745 int err = _PyType_Validate (Py_TYPE (value ), check_type_always_true , & version );
27462746 if (err < 0 ) {
2747- SPECIALIZATION_FAIL (instr , SPEC_FAIL_OUT_OF_VERSIONS );
2747+ SPECIALIZATION_FAIL (TO_BOOL , SPEC_FAIL_OUT_OF_VERSIONS );
27482748 goto failure ;
27492749 }
27502750 else if (err > 0 ) {
2751- SPECIALIZATION_FAIL (instr , err );
2751+ SPECIALIZATION_FAIL (TO_BOOL , err );
27522752 goto failure ;
27532753 }
27542754
@@ -2759,7 +2759,7 @@ _Py_Specialize_ToBool(_PyStackRef value_o, _Py_CODEUNIT *instr)
27592759 goto success ;
27602760 }
27612761
2762- SPECIALIZATION_FAIL (instr , to_bool_fail_kind (value ));
2762+ SPECIALIZATION_FAIL (TO_BOOL , to_bool_fail_kind (value ));
27632763failure :
27642764 unspecialize (instr );
27652765 return ;
You can’t perform that action at this time.
0 commit comments