aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-08 17:05:00 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-08 17:05:00 -0400
commit49f147cc86d06ee60dd6936404b18f952196d9a8 (patch)
treef83695ae38cfd16a4cf7c519eba7401a347f0d28 /src/check_expr.cpp
parente5bf6fd3aa442c746c9540e97fc76110b3f6ee06 (diff)
Prevent panic when `swizzle` called with < 2 indices
The requirement for at least 2 indices has been sourced from `lb_addr_swizzle` in `llvm_backend_general.cpp`, where there is an assert to ensure the swizzle_count is `1 < n <= 4`.
Diffstat (limited to 'src/check_expr.cpp')
0 files changed, 0 insertions, 0 deletions