diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-12 12:40:32 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-12 12:40:32 -0700 |
| commit | 28dd9d478d24190ab5c8c4b892d7dfc16c380ae0 (patch) | |
| tree | f717633b02bdd9cf1c7bc724908e8d19ef097981 /src/codegen/spirv.zig | |
| parent | 03156e589939993bba339162d27d24fd511601c6 (diff) | |
| download | zig-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.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 { |
