Skip to content

Add various verification tests for 'memory' - #311

Closed
icefox wants to merge 1 commit into
WebAssembly:masterfrom
icefox:memory_parse_tests
Closed

icefox wants to merge 1 commit into
WebAssembly:masterfrom
icefox:memory_parse_tests

Conversation

@icefox

@icefox icefox commented Jul 15, 2016

Copy link
Copy Markdown

No description provided.

@rossberg

rossberg commented Jul 15, 2016 •

Copy link
Copy Markdown
Member

You only need to write .fail. tests for cases that produce syntax errors. All other cases are better served by more concrete assert_invalid or assert_trap checks. Also, a number of tests in this PR already exist, check out memory.wast in particular.

@icefox

icefox commented Jul 15, 2016

Copy link
Copy Markdown
Author

Ah sorry I completely missed the existing checks in memory.wast, i'll close this and review it to see if I added any new checks

@icefox icefox closed this Jul 15, 2016
ngzhian added a commit to ngzhian/spec that referenced this pull request Nov 4, 2021
Shifting requires masking i8 and i16 top bits first, since we store them
sign-extended.

Implement `needs_extend` correctly, previously it was implementing the
opposite, but it was used by callers correctly, so change all callers
to use `not needs_extend`.
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Oct 3, 2023
rossberg pushed a commit that referenced this pull request Jul 23, 2024
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