summaryrefslogtreecommitdiff
path: root/test/spec/shared-array.wast
Commit message (Collapse)AuthorAgeFilesLines
* Validate array.init_elem segment in IRBuilder (#6852)Thomas Lively2024-08-191-1/+11
| | | | | | | | | IRBuilder is responsible for validation involving type annotations on GC instructions because those type annotations may not be preserved in the built IR to be used by the main validator. For `array.init_elem`, we were not using the type annotation to validate the element segment, which allowed us to parse invalid modules when the reference operand was a nullref. Add the missing validation in IRBuilder and fix a relevant spec test.
* [threads] Test that array ops work with shared nulls (#6743)Thomas Lively2024-07-131-2/+26
|
* [threads] Validate shared-polymorphic instructions (#6702)Thomas Lively2024-06-251-0/+46
| | | | Such as `ref.eq`, `i31.get_{s,u}`, and `array.len`. Also validate that struct and array operations work on shared structs and arrays.
* [threads] Validate shared-to-unshared edges in heap types (#6698)Thomas Lively2024-06-251-0/+69
Add spec tests checking validation for structs and arrays.