aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-17 13:44:20 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-05-17 13:44:20 -0700
commit3697022a41ffa13a3971aeaf96b9c2b8de391ab1 (patch)
tree94e7a23c262fcb7b0427437502c72a845769b980 /src/Compilation.zig
parentd83983527323201c44f90a2f57ff58c746116e11 (diff)
downloadzig-3697022a41ffa13a3971aeaf96b9c2b8de391ab1.tar.gz
zig-3697022a41ffa13a3971aeaf96b9c2b8de391ab1.zip
stage2: avoid calling freeDecl when hasCodeGenBits == false
Previously the frontend incorrectly called freeDecl for structs, which never got allocateDecl called for them. There was simply a missing check for hasCodeGenBits().
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions