diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-05-30 03:54:34 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-10 20:47:57 -0700 |
| commit | f673c98a7cd18b552cb4959bc22d1794df34c7ab (patch) | |
| tree | 97ab5454dc30fdcf53b1338dc8386afb0a9cabef /src/codegen/c.zig | |
| parent | d0cd1c89da5d688634cdcd3fd645799b14553660 (diff) | |
| download | zig-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
