summaryrefslogtreecommitdiff
path: root/src/expr-visitor.cc
diff options
context:
space:
mode:
authorlizhengxing <unixhaha@gmail.com>2018-02-19 10:59:22 -0800
committerBen Smith <binjimin@gmail.com>2018-02-19 10:59:22 -0800
commit68a134ceddb750de7fc2cee29be726c779e4838c (patch)
tree498ed16e8b39713e47b9bbf8165e6b1297a84440 /src/expr-visitor.cc
parent7b196f2f743d05f56dfec2b8f005e3f74b8ad2bc (diff)
downloadwabt-68a134ceddb750de7fc2cee29be726c779e4838c.tar.gz
wabt-68a134ceddb750de7fc2cee29be726c779e4838c.tar.bz2
wabt-68a134ceddb750de7fc2cee29be726c779e4838c.zip
SIMD v128.bitselect instruction implementation. (#759)
Diffstat (limited to 'src/expr-visitor.cc')
-rw-r--r--src/expr-visitor.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr-visitor.cc b/src/expr-visitor.cc
index 85255523..b76cc786 100644
--- a/src/expr-visitor.cc
+++ b/src/expr-visitor.cc
@@ -189,6 +189,10 @@ Result ExprVisitor::VisitExpr(Expr* expr) {
CHECK_RESULT(delegate_->OnUnaryExpr(cast<UnaryExpr>(expr)));
break;
+ case ExprType::Ternary:
+ CHECK_RESULT(delegate_->OnTernaryExpr(cast<TernaryExpr>(expr)));
+ break;
+
case ExprType::Unreachable:
CHECK_RESULT(delegate_->OnUnreachableExpr(cast<UnreachableExpr>(expr)));
break;