Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-117139: Add header for tagged pointers #118330

Merged
merged 19 commits into from
Apr 30, 2024
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
Prev Previous commit
Next Next commit
fix warning
  • Loading branch information
Fidget-Spinner committed Apr 28, 2024
commit 35ac0ce7b2ebd730266481ec0c4155977b3d5621
2 changes: 1 addition & 1 deletion Include/internal/pycore_tagged.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ _Py_untag_stack_owned(PyObject **dst, const _PyStackRef *src, size_t length) {
assert(_PyObject_HasDeferredRefcount(Py_STACKREF_UNTAG_BORROWED(tagged)));
return;
}
return Py_INCREF(Py_STACKREF_UNTAG_BORROWED(tagged));
Py_INCREF(Py_STACKREF_UNTAG_BORROWED(tagged));
}
#define Py_STACKREF_INCREF(op) _Py_STACKREF_INCREF(op)
#else
Expand Down
Loading