aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-05-30 03:54:34 -0400
committerAndrew Kelley <andrew@ziglang.org>2023-06-10 20:47:57 -0700
commitf673c98a7cd18b552cb4959bc22d1794df34c7ab (patch)
tree97ab5454dc30fdcf53b1338dc8386afb0a9cabef /src/codegen/c.zig
parentd0cd1c89da5d688634cdcd3fd645799b14553660 (diff)
downloadzig-f673c98a7cd18b552cb4959bc22d1794df34c7ab.tar.gz
zig-f673c98a7cd18b552cb4959bc22d1794df34c7ab.zip
Sema: fix sus overflow behavior in RangeSetUnhandledIterator
The old code assumed that `intAddScalar` could return a value outside of the range of `ty`, which is problematic for many reasons. The new code (ab)uses the InternPool for speed.
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions