diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-10-23 15:24:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-23 15:24:59 +0100 |
| commit | c5ae7daecd1fe027b1540f46c07d5c06950875e3 (patch) | |
| tree | f37f24f1daa240c03126de1a42eaf0f8b3acb81c /src/check_builtin.cpp | |
| parent | 8cba4aa1c31fe857bb2969528ee291f4ca7054de (diff) | |
| parent | 6ef915c312f210e5dac9559e863e58886989a1da (diff) | |
Merge pull request #4404 from tf2spi/issue-4395-fix
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; |