Skip to content

memory.copy: use nop reductions only for ignoreImplicitTraps #3074

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 2 commits into from
Aug 24, 2020

Conversation

MaxGraey
Copy link
Contributor

@MaxGraey MaxGraey commented Aug 24, 2020

According to changes in spec:
WebAssembly/bulk-memory-operations#124
WebAssembly/bulk-memory-operations#145

we unfortunately can't fold to nop even for memory.copy(x, y, 0).

So this PR revert all reductions to nop but do this only under ignoreImplicitTraps flag

@MaxGraey MaxGraey changed the title memory.copy: remove folding to nop when size is zero memory.copy: use nop reductions only for ignoreImplicitTraps Aug 24, 2020
@kripken kripken merged commit d2e2521 into WebAssembly:master Aug 24, 2020
@MaxGraey MaxGraey deleted the remove-fold-to-nop-memcopy branch August 24, 2020 15:50
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