Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Clarify trapping semantics - #50

Merged
lars-t-hansen merged 2 commits into
WebAssembly:masterfrom
lars-t-hansen:memcpy-semantics
Jan 28, 2019
Merged

lars-t-hansen merged 2 commits into
WebAssembly:masterfrom
lars-t-hansen:memcpy-semantics

Conversation

@lars-t-hansen

Copy link
Copy Markdown
Contributor

These are clarifications of the trapping semantics for memory.fill, memory.init, and memory.copy, and thus also for table.init and table.copy. We clarify that there's a low->high write order and under what circumstances partially written data are observed.

This needs to be further elaborated once we agree on #49, but shouldn't be controversial at the moment.

@lars-t-hansen
lars-t-hansen requested a review from binji January 25, 2019 14:32

@binji binji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@lars-t-hansen

Copy link
Copy Markdown
Contributor Author

I'm leaving the text for memory.copy as it is even though we've more or less agreed to remove the as-if intermediate buffer solution. Separate PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants