diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-02-20 22:40:41 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-02-20 22:40:41 -0500 |
| commit | 3ee9d06cbdb6bcaf561e7215c4c103c7ad65a72d (patch) | |
| tree | c9f612c22c8e2d2e1191a5aab8fc2bfaebf4cfcd /src/link.cpp | |
| parent | 079728752eca4cffbb4f7e8dc06d5e23b81d7627 (diff) | |
| download | zig-3ee9d06cbdb6bcaf561e7215c4c103c7ad65a72d.tar.gz zig-3ee9d06cbdb6bcaf561e7215c4c103c7ad65a72d.zip | |
packed structs support comptime bitcasting
* `type_size_store` is no longer a thing. loading and storing a pointer
to a value may dereference up to `@sizeOf(T)` bytes, even for
integers such as `u24`.
* fix `types_have_same_zig_comptime_repr` to not think that the
same `ZigTypeId` means the `ConstExprValue` neccesarily has the
same representation.
* implement `buf_write_value_bytes` and `buf_read_value_bytes` for
`ContainerLayoutPacked`
closes #1120
Diffstat (limited to 'src/link.cpp')
0 files changed, 0 insertions, 0 deletions
