Merge pull request #2658 from Daniel-Liu-c0deb0t/anytrue-type

Specified type for V128AnyTrue
This commit is contained in:
Pat Hickey
2021-02-16 17:30:37 -08:00
committed by GitHub

View File

@@ -2516,6 +2516,7 @@ fn type_of(operator: &Operator) -> Type {
| Operator::V128AndNot | Operator::V128AndNot
| Operator::V128Or | Operator::V128Or
| Operator::V128Xor | Operator::V128Xor
| Operator::V128AnyTrue
| Operator::V128Bitselect => I8X16, // default type representing V128 | Operator::V128Bitselect => I8X16, // default type representing V128
Operator::I8x16Shuffle { .. } Operator::I8x16Shuffle { .. }