Skip to content

Commit bcd78aa

Browse files
committed
gh-154014: Initialize cold executor vm_data.code
1 parent 0ebcf8c commit bcd78aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/optimizer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1800,6 +1800,7 @@ make_cold_executor(uint16_t opcode)
18001800
// Cold executors bypass _Py_ExecutorInit().
18011801
cold->vm_data.valid = true;
18021802
cold->vm_data.pending_deletion = 0;
1803+
cold->vm_data.code = NULL;
18031804

18041805
// This is initialized to false so we can prevent the executor
18051806
// from being immediately detected as cold and invalidated.

0 commit comments

Comments
 (0)