summaryrefslogtreecommitdiff
path: root/src/expr-visitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr-visitor.h')
-rw-r--r--src/expr-visitor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr-visitor.h b/src/expr-visitor.h
index f30607ce..0412048e 100644
--- a/src/expr-visitor.h
+++ b/src/expr-visitor.h
@@ -134,6 +134,7 @@ class ExprVisitor::Delegate {
virtual Result OnSimdLaneOpExpr(SimdLaneOpExpr*) = 0;
virtual Result OnSimdShuffleOpExpr(SimdShuffleOpExpr*) = 0;
virtual Result OnLoadSplatExpr(LoadSplatExpr*) = 0;
+ virtual Result OnLoadZeroExpr(LoadZeroExpr*) = 0;
};
class ExprVisitor::DelegateNop : public ExprVisitor::Delegate {
@@ -208,6 +209,7 @@ class ExprVisitor::DelegateNop : public ExprVisitor::Delegate {
Result OnSimdLaneOpExpr(SimdLaneOpExpr*) override { return Result::Ok; }
Result OnSimdShuffleOpExpr(SimdShuffleOpExpr*) override { return Result::Ok; }
Result OnLoadSplatExpr(LoadSplatExpr*) override { return Result::Ok; }
+ Result OnLoadZeroExpr(LoadZeroExpr*) override { return Result::Ok; }
};
} // namespace wabt