diff options
| author | Misomosi <misomosispi@gmail.com> | 2024-10-20 22:51:39 -0400 |
|---|---|---|
| committer | Misomosi <misomosispi@gmail.com> | 2024-10-20 22:51:39 -0400 |
| commit | 6ef915c312f210e5dac9559e863e58886989a1da (patch) | |
| tree | 1fce15ab1efcc4352f00dbde6cf4ecf3a1f3c30c /src/check_builtin.cpp | |
| parent | 7989d512a09d1dd930459b3b0710f22b3def91f4 (diff) | |
Fixes #4395 by not assuming simd returns val
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index ab18123dd..09e558500 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -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; |