summaryrefslogtreecommitdiff
path: root/src/validator.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/validator.cc
parent7b196f2f743d05f56dfec2b8f005e3f74b8ad2bc (diff)
downloadwabt-68a134ceddb750de7fc2cee29be726c779e4838c.tar.gz
wabt-68a134ceddb750de7fc2cee29be726c779e4838c.tar.bz2
wabt-68a134ceddb750de7fc2cee29be726c779e4838c.zip
SIMD v128.bitselect instruction implementation. (#759)
Diffstat (limited to 'src/validator.cc')
-rw-r--r--src/validator.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/validator.cc b/src/validator.cc
index 717f39ee..96aa2532 100644
--- a/src/validator.cc
+++ b/src/validator.cc
@@ -687,6 +687,10 @@ void Validator::CheckExpr(const Expr* expr) {
typechecker_.OnUnary(cast<UnaryExpr>(expr)->opcode);
break;
+ case ExprType::Ternary:
+ typechecker_.OnTernary(cast<TernaryExpr>(expr)->opcode);
+ break;
+
case ExprType::Unreachable:
typechecker_.OnUnreachable();
break;