| Index: src/wasm/function-body-decoder-impl.h
|
| diff --git a/src/wasm/function-body-decoder-impl.h b/src/wasm/function-body-decoder-impl.h
|
| index acda17cfd7b16e2231c2795b74f1f37104b0bc81..ec295cb0e0c7c38216548fef44c00500d58587f2 100644
|
| --- a/src/wasm/function-body-decoder-impl.h
|
| +++ b/src/wasm/function-body-decoder-impl.h
|
| @@ -313,15 +313,13 @@ struct SimdShiftOperand {
|
| }
|
| };
|
|
|
| -// Operand for SIMD shuffle operations.
|
| +// Operand for SIMD S8x16 shuffle operations.
|
| template <bool checked>
|
| -struct SimdShuffleOperand {
|
| - uint8_t shuffle[16];
|
| - unsigned lanes;
|
| +struct Simd8x16ShuffleOperand {
|
| + uint8_t shuffle[kSimd128Size];
|
|
|
| - inline SimdShuffleOperand(Decoder* decoder, const byte* pc, unsigned lanes_) {
|
| - lanes = lanes_;
|
| - for (unsigned i = 0; i < lanes; i++) {
|
| + inline Simd8x16ShuffleOperand(Decoder* decoder, const byte* pc) {
|
| + for (uint32_t i = 0; i < kSimd128Size; ++i) {
|
| shuffle[i] = decoder->read_u8<checked>(pc + 2 + i, "shuffle");
|
| }
|
| }
|
|
|