summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-validator.cpp
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2018-11-29 13:54:10 -0800
committerGitHub <noreply@github.com>2018-11-29 13:54:10 -0800
commit252fd7f176c4a5ae6a6fa9a5124e153ddbaab638 (patch)
tree798386cd9eba764138acfbfe27c7d9d41842d811 /src/wasm/wasm-validator.cpp
parent5274d943ec65866089f6764af89205d003a15078 (diff)
downloadbinaryen-252fd7f176c4a5ae6a6fa9a5124e153ddbaab638.tar.gz
binaryen-252fd7f176c4a5ae6a6fa9a5124e153ddbaab638.tar.bz2
binaryen-252fd7f176c4a5ae6a6fa9a5124e153ddbaab638.zip
Add v128 type (#1777)
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r--src/wasm/wasm-validator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp
index 092394ad3..a08c9a129 100644
--- a/src/wasm/wasm-validator.cpp
+++ b/src/wasm/wasm-validator.cpp
@@ -862,6 +862,7 @@ void FunctionValidator::validateAlignment(size_t align, Type type, Index bytes,
shouldBeTrue(align <= 8, curr, "alignment must not exceed natural");
break;
}
+ case v128: assert(false && "v128 not implemented yet");
case none:
case unreachable: {}
}