aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/tokenizer.cpp
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-10-13 19:34:20 +0200
committerAndrew Kelley <andrew@ziglang.org>2020-10-14 00:05:50 -0400
commit0570df69b178c99f4d9d679a57d966f507dda484 (patch)
tree7114064614b422868b1fa73f78d7b74c6b27a33d /src/stage1/tokenizer.cpp
parentea45ee54843b10a433bb223caa9706d8253e3222 (diff)
downloadzig-0570df69b178c99f4d9d679a57d966f507dda484.tar.gz
zig-0570df69b178c99f4d9d679a57d966f507dda484.zip
stage1: Fix missing runtime safety check for intToPtr
Elide the alignment check if the pointer alignment is one, the null check must be preserved as it depends on the pointer type. Fixes #6667
Diffstat (limited to 'src/stage1/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions