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

🏗 Replace NoInline suffix check in runner.jar with the @noinline closure annotation #23363

Merged
merged 4 commits into from
Jul 17, 2019
Merged

🏗 Replace NoInline suffix check in runner.jar with the @noinline closure annotation #23363

merged 4 commits into from
Jul 17, 2019

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented Jul 17, 2019

AmpCodingConvention.java checks function names for the NoInline suffix to prevent them from being inlined by closure compiler.

This PR removes all custom suffix code and replaces it with @noinline annotations.

Partial fix for #17120 and #22452

@rsimha
Copy link
Contributor Author

rsimha commented Jul 17, 2019

Verified that this does not break the current inlining behavior in v0.js.

@rsimha rsimha merged commit 72915a3 into ampproject:master Jul 17, 2019
@rsimha rsimha deleted the 2019-07-16-NoInline branch July 17, 2019 18:23
rindo pushed a commit to logly/amphtml that referenced this pull request Jul 24, 2019
thekorn pushed a commit to edelight/amphtml that referenced this pull request Sep 11, 2019
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