X Tutup
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-92228: disable the compiler's 'small exit block inlining' optimiza…
…tion
  • Loading branch information
iritkatriel committed Jul 6, 2022
commit f53cd9d529209319541159dcea43b1227f49abf8
3 changes: 2 additions & 1 deletion Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -8981,7 +8981,8 @@ jump_thread(struct instr *inst, struct instr *target, int opcode)
}

/* Maximum size of basic block that should be copied in optimizer */
#define MAX_COPY_SIZE 4
/* Set to 0 to disable to optimisation - see gh-92228 */
#define MAX_COPY_SIZE 0

/* Optimization */
static int
Expand Down
X Tutup