Skip to content

Conversation

iluuu1994
Copy link
Member

Ouch, Z_TRY_ADDREF_P() uses pz twice... Also make sure we actually reserve enough Buckets for all dynamic properties.

We should consider updating Z_TRY_ADDREF_P() and Z_TRY_DELREF_P() on master. Maybe the pattern is duplicated to reduce register pressure, I'm not sure. Maybe @dstogov can comment.

… table

Ouch, Z_TRY_ADDREF_P() uses pz twice... Also make sure we actually reserve
enough Buckets for all dynamic properties.
@dstogov
Copy link
Member

dstogov commented Dec 9, 2024

We should consider updating Z_TRY_ADDREF_P() and Z_TRY_DELREF_P() on master. Maybe the pattern is duplicated to reduce register pressure, I'm not sure. Maybe @dstogov can comment.

I don't see any problems updating Z_TRY_ADDREF_P(). We probably just missed the possibility of macro side effects.

Copy link
Member

@arnaud-lb arnaud-lb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@iluuu1994 iluuu1994 closed this in 8491730 Dec 9, 2024
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.

3 participants