summaryrefslogtreecommitdiff
path: root/src/binary-writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-writer.cc')
-rw-r--r--src/binary-writer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/binary-writer.cc b/src/binary-writer.cc
index 785dae14..b53d8c0d 100644
--- a/src/binary-writer.cc
+++ b/src/binary-writer.cc
@@ -594,6 +594,12 @@ void BinaryWriter::WriteExpr(const Func* func, const Expr* expr) {
stream_->WriteU8(static_cast<uint8_t>(cast<SimdLaneOpExpr>(expr)->val), "Simd Lane literal");
break;
}
+ case ExprType::SimdShuffleOp: {
+ const Opcode opcode = cast<SimdShuffleOpExpr>(expr)->opcode;
+ WriteOpcode(stream_, opcode);
+ stream_->WriteU128(cast<SimdShuffleOpExpr>(expr)->val, "Simd Lane[16] literal");
+ break;
+ }
case ExprType::Unreachable:
WriteOpcode(stream_, Opcode::Unreachable);
break;