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

Remove redundant check for SUPPORT_BASE64_EMBEDDING in getWasmBinary. NFC #23491

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jan 24, 2025

This block of code is withing !SINGLE_FILE but
SUPPORT_BASE64_EMBEDDING is only ever defined when SINGLE_FILE is enabled.

In the past I think SUPPORT_BASE64_EMBEDDING may have been defined under more circumstances?

The codesize changes are just white-space only changes in the un-optimized output.

@sbc100 sbc100 requested review from kripken and brendandahl January 24, 2025 19:57
@sbc100 sbc100 force-pushed the remove_redundant_check branch from 531301c to 8746018 Compare January 24, 2025 21:39
@sbc100 sbc100 enabled auto-merge (squash) January 24, 2025 21:39
… NFC

This block of code is withing `!SINGLE_FILE` but
`SUPPORT_BASE64_EMBEDDING` is only ever defined when `SINGLE_FILE` is
enabled.

In the past I think `SUPPORT_BASE64_EMBEDDING` may have been defined
under more circumstances?

No codesize changes here because this code was never actually emitted.
@sbc100 sbc100 force-pushed the remove_redundant_check branch from 8746018 to 0f280b3 Compare January 24, 2025 21:40
@sbc100 sbc100 merged commit 73ebb91 into emscripten-core:main Jan 24, 2025
29 checks passed
@sbc100 sbc100 deleted the remove_redundant_check branch January 24, 2025 22:55
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