You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently a pop can only come after a catch, and its argument should be exnref. Os_print-stack-ir_all-features.wast contains tests for pops for various types, so there's no way to make this file a valid wasm file for now. This makes the test not usable as initial content for the fuzzer, and it is in general good to make all our tests valid.
Once the new EH spec is implemented, catch should be able to pop other types values than exnref, then we will be able to make this test valid as well. This is a tracking issue for this problem.
The text was updated successfully, but these errors were encountered:
It would also be fine to just delete that part of the test. It comes from back when I first implemented Push and Pop with the idea that they could be used anywhere.
These two tests had pops in invalid locations; pops are valid only after
`catch`. This fixes those invalid wasm files.
This removes pops from Os_print-stack-ir_all-features.wast too.
Fixes#3213 and #3283.
Currently a
pop
can only come after acatch
, and its argument should beexnref
. Os_print-stack-ir_all-features.wast contains tests for pops for various types, so there's no way to make this file a valid wasm file for now. This makes the test not usable as initial content for the fuzzer, and it is in general good to make all our tests valid.Once the new EH spec is implemented,
catch
should be able to pop other types values thanexnref
, then we will be able to make this test valid as well. This is a tracking issue for this problem.The text was updated successfully, but these errors were encountered: