aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-11-23 16:56:31 +0000
committergingerBill <bill@gingerbill.org>2020-11-23 16:56:31 +0000
commit4762d2f2d15d64e012e2de876f1fd78c3ebd7c3e (patch)
tree31673f9df6ebb1fa7041fcd31ac6105baa6a6a6f /src/ir.cpp
parent67bc35e882800164c2a7a30cadc237d4051a4b46 (diff)
map type internal reorganization
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 28edd5981..634e0a698 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -3608,7 +3608,7 @@ irValue *ir_gen_map_header(irProcedure *proc, irValue *map_val_ptr, Type *map_ty
irValue *ir_gen_map_key(irProcedure *proc, irValue *key, Type *key_type) {
Type *hash_type = t_u64;
- irValue *v = ir_add_local_generated(proc, t_map_key, true);
+ irValue *v = ir_add_local_generated(proc, t_map_hash, true);
Type *t = base_type(ir_type(key));
key = ir_emit_conv(proc, key, key_type);