aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-05-27 12:11:58 +0100
committergingerBill <bill@gingerbill.org>2022-05-27 12:11:58 +0100
commitc23274adb040ef1ffbdfd8dc1689bb320f274005 (patch)
tree3f27948a0dcb6bc55f76454297903feae9b6789f /src/check_type.cpp
parent833f9dd037d2638a9d2a5bd2a1346057b097aed5 (diff)
Remove useless check
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index f84c15a19..fc5b7aed7 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -2813,11 +2813,6 @@ bool check_type_internal(CheckerContext *ctx, Ast *e, Type **type, Type *named_t
*type = alloc_type_simd_vector(count, elem, generic_type);
- if (is_arch_wasm()) {
- if (type_size_of(*type) != 16) {
- error(at->count, "wasm based targets are limited to 128-bit types");
- }
- }
if (count > SIMD_ELEMENT_COUNT_MAX) {
error(at->count, "#simd support a maximum element count of %d, got %lld", SIMD_ELEMENT_COUNT_MAX, cast(long long)count);
}