Skip to content
Closed
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
Prev Previous commit
Next Next commit
add again a comment about gotos
  • Loading branch information
neonene authored Sep 23, 2024
commit 516d2fb8e319e807c004aac8672200a23bf499cf
1 change: 1 addition & 0 deletions Objects/typeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -5303,6 +5303,7 @@ get_base_by_token_recursive(PyTypeObject *, void *);
int
PyType_GetBaseByToken(PyTypeObject *type, void *token, PyTypeObject **result)
{
// Goto jumps here can disturb the PGO collection on MSVC
if (result == NULL) {
// If the `result` is checked only once here, the subsequent
// branches will become trivial to optimize.
Expand Down