diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-21 16:09:14 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-21 16:09:14 -0500 |
| commit | cbce61a209897598cf093180ef6b5d71c9566d6a (patch) | |
| tree | 57af17f813a3a23008feb7e636e4613076d91b80 /src/analyze.cpp | |
| parent | 1066004b79d014b4c3d10da19c84c679e21b88e5 (diff) | |
| download | zig-cbce61a209897598cf093180ef6b5d71c9566d6a.tar.gz zig-cbce61a209897598cf093180ef6b5d71c9566d6a.zip | |
better field access of types which have one possible value
* When you do field access of a type which only has one possible
value, the result is comptime-known.
* StorePtr instructions which operate on pointers to types which
only have one possible value, the result is a comptime no-op.
closes #1554
Diffstat (limited to 'src/analyze.cpp')
0 files changed, 0 insertions, 0 deletions
