Skip to content

Fix EM_ASM with addresses over 2gb #19982

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

Merged
merged 1 commit into from
Aug 18, 2023
Merged

Fix EM_ASM with addresses over 2gb #19982

merged 1 commit into from
Aug 18, 2023

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Aug 5, 2023

This change use makeGetValue helper macros to avoid direct heap access.

This does come with a 6 byte code size cost (I measured the size of the
JS code generated for wasm64.test_em_asm with -O2 going from 9275 to
9281).

@sbc100 sbc100 requested a review from kripken August 5, 2023 21:29
@sbc100 sbc100 force-pushed the em_asm_2gb branch 2 times, most recently from 42d4643 to 230fc5f Compare August 6, 2023 18:42
@sbc100 sbc100 changed the base branch from 4gb to em_asm August 16, 2023 23:06
Base automatically changed from em_asm to main August 18, 2023 00:58
@sbc100 sbc100 merged commit dee7d9a into main Aug 18, 2023
@sbc100 sbc100 deleted the em_asm_2gb branch August 18, 2023 02:21
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