Skip to content

Commit 07e6ba1

Browse files
committed
Address code review
1 parent ad15aaf commit 07e6ba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/optimizer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ uop_optimize(
12841284
if (tstate->jit_uop_buffer == NULL) {
12851285
tstate->jit_uop_buffer = (_PyUOpInstruction *)PyMem_RawMalloc(UOP_MAX_TRACE_LENGTH*sizeof(_PyUOpInstruction));
12861286
if (tstate->jit_uop_buffer == NULL) {
1287-
return -1;
1287+
return 0;
12881288
}
12891289
}
12901290
_PyUOpInstruction *buffer = tstate->jit_uop_buffer;

0 commit comments

Comments
 (0)