Fixes #4395 by not assuming simd returns val

This commit is contained in:
Misomosi authored and flysand7 committed 2024-12-01 11:54:50 +11:00
1 parent b459cb6b2c
commit cb5e064526
1 file changed
+1 -1
+1 -1
View File
@@ -2060,8 +2060,8 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
bool ok = check_builtin_simd_operation(c, operand, call, id, type_hint); bool ok = check_builtin_simd_operation(c, operand, call, id, type_hint);
if (!ok) { if (!ok) {
operand->type = t_invalid; operand->type = t_invalid;
}
operand->mode = Addressing_Value; operand->mode = Addressing_Value;
}
operand->value = {}; operand->value = {};
operand->expr = call; operand->expr = call;
return ok; return ok;