aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/spirv.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-07-12 12:40:32 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-07-12 12:40:32 -0700
commit28dd9d478d24190ab5c8c4b892d7dfc16c380ae0 (patch)
treef717633b02bdd9cf1c7bc724908e8d19ef097981 /src/codegen/spirv.zig
parent03156e589939993bba339162d27d24fd511601c6 (diff)
downloadzig-28dd9d478d24190ab5c8c4b892d7dfc16c380ae0.tar.gz
zig-28dd9d478d24190ab5c8c4b892d7dfc16c380ae0.zip
C backend: TypedefMap is now ArrayHashMap
The C backend depends on insertion order into this map so that type definitions will be declared before they are used.
Diffstat (limited to 'src/codegen/spirv.zig')
-rw-r--r--src/codegen/spirv.zig2
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 {