Skip to content

Conversation

@Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Feb 7, 2025

This moves the opcode assignment into the tail call ifdef, to aid with really old compilers that might not be able to optimize it away.

Though we might think a single assignment doesn't matter. I have a feeling it's not optimized away.

See the comment thread from #128563 (comment) onwards for rationale.

@Fidget-Spinner Fidget-Spinner merged commit 1758447 into python:main Feb 7, 2025
51 checks passed
@Fidget-Spinner
Copy link
Member Author

Thanks Irit!

@Fidget-Spinner Fidget-Spinner deleted the tail-call-opcode branch February 7, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants