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

InlineSimpleMethods @noinline and PropertyRenameFunction #4072

Conversation

DavidANeil
Copy link
Contributor

#3967 made it so methods that are used in reflection were not devirtualized, but that didn't prevent them from being inlined by InlineSimpleMethods. This could lead to broken code if a decorator (using goog.reflect.objectProperty) tried to modify a method that was being inlined. It would still modify the method, but all uses of the method would be replaced by the original source inline body, sans the decorator's modifications.

@copybara-service copybara-service bot merged commit 831384d into google:master Mar 29, 2023
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.

2 participants