diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-12 18:21:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-12 18:21:19 -0400 |
| commit | 9b79ce1cd302a196bbb49e5fa89657bd840f4066 (patch) | |
| tree | f717633b02bdd9cf1c7bc724908e8d19ef097981 /src/codegen/spirv.zig | |
| parent | 3063f0a5ed373947badd0af056db310283c76e37 (diff) | |
| parent | 28dd9d478d24190ab5c8c4b892d7dfc16c380ae0 (diff) | |
| download | zig-9b79ce1cd302a196bbb49e5fa89657bd840f4066.tar.gz zig-9b79ce1cd302a196bbb49e5fa89657bd840f4066.zip | |
Merge pull request #9365 from ifreund/hash-map-fix
std/hash_map: fix ensureUnusedCapacity() over-allocating
Diffstat (limited to 'src/codegen/spirv.zig')
| -rw-r--r-- | src/codegen/spirv.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/spirv.zig b/src/codegen/spirv.zig index 9e0cd19f6f..7fa813e565 100644 --- a/src/codegen/spirv.zig +++ b/src/codegen/spirv.zig @@ -18,7 +18,7 @@ const Inst = ir.Inst; pub const Word = u32; pub const ResultId = u32; -pub const TypeMap = std.HashMap(Type, u32, Type.HashContext, std.hash_map.default_max_load_percentage); +pub const TypeMap = std.HashMap(Type, u32, Type.HashContext64, std.hash_map.default_max_load_percentage); pub const InstMap = std.AutoHashMap(*Inst, ResultId); const IncomingBlock = struct { |
