Skip to content

Commit 8f8cb4f

Browse files
committed
Move position
1 parent 4ae7da0 commit 8f8cb4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/lib-rt/int_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ CPyTagged CPyTagged_BitwiseLongOp_(CPyTagged a, CPyTagged b, char op) {
295295
digit *adigits = GetIntDigits(a, &asize, abuf);
296296
digit *bdigits = GetIntDigits(b, &bsize, bbuf);
297297

298+
void *digits;
298299
if (unlikely(asize < 0 || bsize < 0)) {
299300
// Negative operand. This is slower, but bitwise ops on them are pretty rare.
300301
return GenericBitwiseOp(a, b, op);
@@ -309,7 +310,6 @@ CPyTagged CPyTagged_BitwiseLongOp_(CPyTagged a, CPyTagged b, char op) {
309310
asize = bsize;
310311
bsize = tmp_size;
311312
}
312-
void *digits;
313313
PyLongWriter *writer = PyLongWriter_Create(0, op == '&' ? asize : bsize, &digits);
314314
if (unlikely(writer == NULL)) {
315315
CPyError_OutOfMemory();

0 commit comments

Comments
 (0)