diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-05-17 13:44:20 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-05-17 13:44:20 -0700 |
| commit | 3697022a41ffa13a3971aeaf96b9c2b8de391ab1 (patch) | |
| tree | 94e7a23c262fcb7b0427437502c72a845769b980 /src/Compilation.zig | |
| parent | d83983527323201c44f90a2f57ff58c746116e11 (diff) | |
| download | zig-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
