aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-08-05 12:04:36 +0100
committergingerBill <bill@gingerbill.org>2024-08-05 12:04:36 +0100
commita06cb8ba46e8a116c8968565eef055fc56ec298e (patch)
tree8ed06e20dfdf2a590cb601c4ede98e781a0a8283 /src/types.cpp
parent7e0fa795e4cb86300bf324f6e0f59279578eefe1 (diff)
Add `#simd[N]rawptr` support
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 944760142..da5099d22 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -2091,6 +2091,9 @@ gb_internal bool is_type_valid_vector_elem(Type *t) {
if (is_type_boolean(t)) {
return true;
}
+ if (t->Basic.kind == Basic_rawptr) {
+ return true;
+ }
}
return false;
}