aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-12-05 18:52:25 +0100
committerLemonBoy <thatlemon@gmail.com>2020-12-05 18:58:37 +0100
commit865d6df03e20b3338bafb15c23bce6b5912ecf88 (patch)
tree1ca85a887e3057457c672397c4d9925d0c954eaa /src/stage1/codegen.cpp
parentb6b7a6401c064582b610b8ca6935a388c3bb3c03 (diff)
downloadzig-865d6df03e20b3338bafb15c23bce6b5912ecf88.tar.gz
zig-865d6df03e20b3338bafb15c23bce6b5912ecf88.zip
stage1: Fix constant folding of single-element enums
Fill in the correct value instead of leaving everything uninitialized. This problem can be noticed in behavior/union.zig but it's masked by some other "optimization" kicking in at the wrong time, the following commits will address that.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions