diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-05-17 17:39:52 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-05-17 17:39:52 -0700 |
| commit | 67f5a28257b50e72750f51a03d6ce9ee27ad1439 (patch) | |
| tree | e2a205ff1e748ded4bfc848e0a841ac5cef3622a /lib/std/priority_dequeue.zig | |
| parent | 5cacc446c4ff5591b7a9c506952f4eb9ae5efdd1 (diff) | |
| download | zig-67f5a28257b50e72750f51a03d6ce9ee27ad1439.tar.gz zig-67f5a28257b50e72750f51a03d6ce9ee27ad1439.zip | |
Sema: use a hash map for ZIR->AIR mapping
Previously, ZIR was per-function so we could simply allocate a slice for
all ZIR instructions. However now ZIR is whole-file, so we need a sparse
mapping of ZIR to AIR instructions in order to not waste memory.
Diffstat (limited to 'lib/std/priority_dequeue.zig')
0 files changed, 0 insertions, 0 deletions
