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.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/binary-writer.cc b/src/binary-writer.cc
index c744aca4..2f97354e 100644
--- a/src/binary-writer.cc
+++ b/src/binary-writer.cc
@@ -1026,6 +1026,9 @@ void BinaryWriter::WriteExpr(const Func* func, const Expr* expr) {
case ExprType::LoadSplat:
WriteLoadStoreExpr<LoadSplatExpr>(func, expr, "load offset");
break;
+ case ExprType::LoadZero:
+ WriteLoadStoreExpr<LoadZeroExpr>(func, expr, "load offset");
+ break;
case ExprType::Unreachable:
WriteOpcode(stream_, Opcode::Unreachable);
break;