aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorCody Tapscott <topolarity@tapscott.me>2022-03-22 23:32:57 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-23 13:44:31 -0700
commit5374e245c50fde8bbb133bbff2db15efa3604721 (patch)
treef97abf82092e557f0e73a119fe7ac36506b9e8f4 /src/Module.zig
parent1c223819098e5621e2e5ad526879cd33852144e1 (diff)
downloadzig-5374e245c50fde8bbb133bbff2db15efa3604721.tar.gz
zig-5374e245c50fde8bbb133bbff2db15efa3604721.zip
stage2: Remove premature elem_val index check
We were enforcing bounds on the index of an elem_ptr in pointerDeref, but we want to support out-of-bounds accesses by reinterpreting memory. This removes that check, so that the deref falls back to bitcasting, as usual. This was masked by another bug that was forcing bitcasts incorrectly, which is why this wasn't noticed earlier.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions