aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-08-05 12:35:27 +0100
committergingerBill <bill@gingerbill.org>2023-08-05 12:35:27 +0100
commit8cdedd4cd262beea3fae538d3301963d47f13967 (patch)
treeebf9ed88ee72669721827752e40877b06fd3c70b /src
parent985e4eed6070995de854ed4b84981bbb89a81c45 (diff)
Add `raw_data(^matrix[R, C]T) -> [^]T`
Diffstat (limited to 'src')
-rw-r--r--src/check_builtin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index 35720c914..7f9f4ab13 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -3692,6 +3692,9 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
case Type_SimdVector:
operand->type = alloc_type_multi_pointer(base_array_type(base));
break;
+ case Type_Matrix:
+ operand->type = alloc_type_multi_pointer(base->Matrix.elem);
+ break;
}
}
break;