Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JukkaL committed May 19, 2024
1 parent c0df723 commit 15a2ae3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mypyc/lib-rt/pythonsupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ CPyLong_AsSsize_tAndOverflow(PyObject *vv, int *overflow)
} else if (i == ((1 << CPY_NON_SIZE_BITS) | CPY_SIGN_NEGATIVE)) {
res = -(sdigit)CPY_LONG_DIGIT(v, 0);
} else {
// Slow path is moved to a non-inline helper function to
// limit size of generated code
int overflow_local;
res = CPyLong_AsSsize_tAndOverflow_(vv, &overflow_local);
*overflow = overflow_local;
Expand Down

0 comments on commit 15a2ae3

Please sign in to comment.