aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/codegen.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-03-30 13:27:19 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-03-30 11:03:56 -0400
commitc1cc1ebc35f7a56669db2f88b6d4ff8f1603ec59 (patch)
tree17e1064c3d862df1bed5ea4f2e73d789afb1893f /src-self-hosted/codegen.zig
parent8cad45349510b2995a49fc907bdc3c8bf86aa21b (diff)
downloadzig-c1cc1ebc35f7a56669db2f88b6d4ff8f1603ec59.tar.gz
zig-c1cc1ebc35f7a56669db2f88b6d4ff8f1603ec59.zip
ir: Avoid constant-folding ptr to sentinels
Constant-folding the pointers to the expected sentinel value have some big problems: it hides the real content of the array, makes the pointer to the sentinel point to a completely different memory region and treats it like a const value even when the underlying array is mutable. Fixes #4840
Diffstat (limited to 'src-self-hosted/codegen.zig')
0 files changed, 0 insertions, 0 deletions