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

Introduce #pragma cheerp env and the Cheerp language option #266

Merged
merged 6 commits into from
Oct 22, 2024

Conversation

yuri91
Copy link
Member

@yuri91 yuri91 commented Oct 22, 2024

No description provided.

It should gradually replace using `!getTarget().isByteAddressable()`
with `getLangOpts().Cheerp`
Its value is the default cheerp attribute for the current target
The previous check, in sema, would look at the section of realloc, not
the one of the calling function.
This would both miss detection of issue for genericjs uses, and falsely
flag asmjs uses with the upcoming commit intruducing #pragma cheerp
@yuri91 yuri91 merged commit a51f4b9 into master Oct 22, 2024
1 check passed
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.

1 participant