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

Reduce the cost of CheckTypeAndMergeFrom in LITE_RUNTIME objects when icf is #16845

Merged
1 commit merged into from
May 15, 2024

Conversation

copybara-service[bot]
Copy link

Reduce the cost of CheckTypeAndMergeFrom in LITE_RUNTIME objects when icf is
enabled.
DownCastToGenerated injects the strong reference to T, which makes all instances of CheckTypeAndMergeFrom unique and not candidates for identical code folding.
The strong reference is not needed here in the member function.

@copybara-service copybara-service bot force-pushed the test_633591537 branch 3 times, most recently from d963b73 to 46e9d75 Compare May 15, 2024 18:18
… icf is

enabled.
DownCastToGenerated injects the strong reference to T, which makes all instances of CheckTypeAndMergeFrom unique and not candidates for identical code folding.
The strong reference is not needed here in the member function.

PiperOrigin-RevId: 634033477
@copybara-service copybara-service bot closed this pull request by merging all changes into main in ca995da May 15, 2024
@copybara-service copybara-service bot deleted the test_633591537 branch May 15, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant