Skip to content

Conversation

kripken
Copy link
Member

@kripken kripken commented Sep 24, 2016

This makes the validator enforce drop being used on a value that is droppable. Apparently no spec test checks this, so it wasn't done already. The new pass fuzzer noticed this.

Spec tests are updated here since the previous version had some incorrect drops (which I meanwhile noticed and fixed in WebAssembly/spec#351.

This can't be merged yet due to #708, we need to fix either the wasm backend or s2wasm to emit proper drops, so they pass this new validation.

@kripken
Copy link
Member Author

kripken commented Sep 30, 2016

s2wasm was fixed, and I also fixed the issue noted in #718 (comment), so this should be good to go now.

@kripken kripken merged commit 2a543b4 into master Sep 30, 2016
@kripken kripken deleted the validate-drop branch September 30, 2016 16:15
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