Skip to content

Commit ec7f0e2

Browse files
committed
Fix copy-and-paste error
1 parent a281775 commit ec7f0e2

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
@@ -1485,7 +1485,7 @@ _PyExecutor_GetColdExecutor(void)
14851485
// This is initialized to true so we can prevent the executor
14861486
// from being immediately detected as cold and invalidated.
14871487
cold->vm_data.warm = true;
1488-
if (_PyJIT_Compile(cold, cold->trace, length)) {
1488+
if (_PyJIT_Compile(cold, cold->trace, 1)) {
14891489
Py_DECREF(cold);
14901490
Py_FatalError("Cannot allocate core JIT code");
14911491
}

0 commit comments

Comments
 (0)