aboutsummaryrefslogtreecommitdiff
path: root/lib/std/priority_dequeue.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-10-13 21:20:38 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-10-13 21:20:38 -0700
commit0d4a94f32fc71f81d54db038f013854b8e9f0ac4 (patch)
tree163668781596539d8d6f95e2de506aad544be355 /lib/std/priority_dequeue.zig
parentb0f80ef0d5517b5ce8ba60dfae6dd986346f8d4c (diff)
downloadzig-0d4a94f32fc71f81d54db038f013854b8e9f0ac4.tar.gz
zig-0d4a94f32fc71f81d54db038f013854b8e9f0ac4.zip
stage2: improve handling of 0-bit types and arrays
* Make `alloc` AIR instructions call `resolveTypeLayout`. * `Sema.zirResolveInferredAlloc` now calls `requireRuntimeBlock` in the case that it operates on a non-comptime instruction. * `Type.abiSize` and `Type.abiAlignment` now return 0 for `void` * Sema: implement `resolveTypeFields` for unions. * LLVM Backend: support `ptr_elem_ptr` when the element type is 0-bit. * Type: improve `abiAlignment` implementation for structs to properly handle fields with non-default alignment. * Value: implement hashing array, vector, and structs.
Diffstat (limited to 'lib/std/priority_dequeue.zig')
0 files changed, 0 insertions, 0 deletions