@@ -2354,8 +2354,8 @@ _Py_Specialize_BinaryOp(_PyStackRef lhs_st, _PyStackRef rhs_st, _Py_CODEUNIT *in
23542354 specialize (instr , BINARY_OP_ADD_INT );
23552355 return ;
23562356 }
2357- if (_PyLong_CheckExactAndMightFitInt64 (lhs ) &&
2358- _PyLong_CheckExactAndMightFitInt64 (rhs ))
2357+ if (_PyLong_CheckExactAndFitsInt64 (lhs ) &&
2358+ _PyLong_CheckExactAndFitsInt64 (rhs ))
23592359 {
23602360 specialize (instr , BINARY_OP_ADD_INT_WIDE );
23612361 return ;
@@ -2374,8 +2374,8 @@ _Py_Specialize_BinaryOp(_PyStackRef lhs_st, _PyStackRef rhs_st, _Py_CODEUNIT *in
23742374 specialize (instr , BINARY_OP_MULTIPLY_INT );
23752375 return ;
23762376 }
2377- if (_PyLong_CheckExactAndMightFitInt64 (lhs ) &&
2378- _PyLong_CheckExactAndMightFitInt64 (rhs ))
2377+ if (_PyLong_CheckExactAndFitsInt64 (lhs ) &&
2378+ _PyLong_CheckExactAndFitsInt64 (rhs ))
23792379 {
23802380 specialize (instr , BINARY_OP_MULTIPLY_INT_WIDE );
23812381 return ;
@@ -2394,8 +2394,8 @@ _Py_Specialize_BinaryOp(_PyStackRef lhs_st, _PyStackRef rhs_st, _Py_CODEUNIT *in
23942394 specialize (instr , BINARY_OP_SUBTRACT_INT );
23952395 return ;
23962396 }
2397- if (_PyLong_CheckExactAndMightFitInt64 (lhs ) &&
2398- _PyLong_CheckExactAndMightFitInt64 (rhs ))
2397+ if (_PyLong_CheckExactAndFitsInt64 (lhs ) &&
2398+ _PyLong_CheckExactAndFitsInt64 (rhs ))
23992399 {
24002400 specialize (instr , BINARY_OP_SUBTRACT_INT_WIDE );
24012401 return ;
0 commit comments