Skip to content

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Sep 30, 2025

This is somewhat a continuation of #19479 to work towards addressing #19479 (comment)

int level; /* steps away from the entry in the dom. tree, or -1 */
int children; /* list of dominated blocks, or -1 */
int next_child; /* next dominated block, or -1 */
int successors_storage[2]; /* up to 2 successor blocks */
Copy link
Member Author

Choose a reason for hiding this comment

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

So on 64 bit we have 4 bits of padding remaining, does it make sense to open up the possibility to store a third successor block?

Copy link
Member

Choose a reason for hiding this comment

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

That makes sense imo.

@Girgias Girgias requested a review from iluuu1994 September 30, 2025 16:26
@Girgias Girgias marked this pull request as ready for review September 30, 2025 16:26
@Girgias Girgias requested a review from dstogov as a code owner September 30, 2025 16:26
int level; /* steps away from the entry in the dom. tree, or -1 */
int children; /* list of dominated blocks, or -1 */
int next_child; /* next dominated block, or -1 */
int successors_storage[2]; /* up to 2 successor blocks */
Copy link
Member

Choose a reason for hiding this comment

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

That makes sense imo.

Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

I don't have any other objections.

@Girgias Girgias merged commit 7c917df into php:master Oct 2, 2025
8 of 9 checks passed
@Girgias Girgias deleted the opcache-uint32 branch October 2, 2025 10:24
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