diff options
Diffstat (limited to 'src/binary-reader-ir.cc')
-rw-r--r-- | src/binary-reader-ir.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/binary-reader-ir.cc b/src/binary-reader-ir.cc index c588f6a8..448ac444 100644 --- a/src/binary-reader-ir.cc +++ b/src/binary-reader-ir.cc @@ -183,6 +183,7 @@ class BinaryReaderIR : public BinaryReaderNop { Result OnUnreachableExpr() override; Result EndFunctionBody(Index index) override; Result OnSimdLaneOpExpr(Opcode opcode, uint64_t value) override; + Result OnSimdShuffleOpExpr(Opcode opcode, v128 value) override; Result OnElemSegmentCount(Index count) override; Result BeginElemSegment(Index index, Index table_index) override; @@ -839,6 +840,10 @@ Result BinaryReaderIR::OnSimdLaneOpExpr(Opcode opcode, uint64_t value) { return AppendExpr(MakeUnique<SimdLaneOpExpr>(opcode, value)); } +Result BinaryReaderIR::OnSimdShuffleOpExpr(Opcode opcode, v128 value) { + return AppendExpr(MakeUnique<SimdShuffleOpExpr>(opcode, value)); +} + Result BinaryReaderIR::OnElemSegmentCount(Index count) { WABT_TRY module_->elem_segments.reserve(count); |