aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-12-21 14:42:08 +0000
committergingerBill <bill@gingerbill.org>2019-12-21 14:42:08 +0000
commit995ba0df9ae19cb76444d9e2187a59ea50b66eed (patch)
tree55bd1b5f2b1fbb0407763422ab8a679bea71580b /src/types.cpp
parent08392d885ec0beb272df8698e2f6e2804957e6c7 (diff)
Fix using on array in struct
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp
index e5f4f7957..c02bf7dd2 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -3211,7 +3211,7 @@ gbString write_type_to_string(gbString str, Type *type) {
if (type->SimdVector.is_x86_mmx) {
return "intrinsics.x86_mmx";
} else {
- str = gb_string_append_fmt(str, "#vector[%d]", cast(int)type->SimdVector.count);
+ str = gb_string_append_fmt(str, "#simd[%d]", cast(int)type->SimdVector.count);
str = write_type_to_string(str, type->SimdVector.elem);
}
break;