aboutsummaryrefslogtreecommitdiff
path: root/lib/std/atomic/stack.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-17 17:39:52 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-05-17 17:39:52 -0700
commit67f5a28257b50e72750f51a03d6ce9ee27ad1439 (patch)
treee2a205ff1e748ded4bfc848e0a841ac5cef3622a /lib/std/atomic/stack.zig
parent5cacc446c4ff5591b7a9c506952f4eb9ae5efdd1 (diff)
downloadzig-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/atomic/stack.zig')
0 files changed, 0 insertions, 0 deletions