Fixes #4395 by not assuming simd returns val

This commit is contained in:
Misomosi
2024-10-20 22:51:39 -04:00
parent 7989d512a0
commit 6ef915c312

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);
if (!ok) {
operand->type = t_invalid;
operand->mode = Addressing_Value;
}
operand->mode = Addressing_Value;
operand->value = {};
operand->expr = call;
return ok;