aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-09-22 00:05:11 +0100
committergingerBill <bill@gingerbill.org>2022-09-22 00:05:11 +0100
commit8c3f01fbfa73f707e9150b0dbe2629d7d5ac2f8d (patch)
treec0d3308f49ae14abf970c7a5a127498a8b0bf29c /src/llvm_backend.cpp
parent0380601bb489d6488bbc0a3322a06889dca9bd02 (diff)
Correct parapoly determination of generated internal type of a `map`
Diffstat (limited to 'src/llvm_backend.cpp')
-rw-r--r--src/llvm_backend.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp
index 8bee5c9e5..e563fabb7 100644
--- a/src/llvm_backend.cpp
+++ b/src/llvm_backend.cpp
@@ -521,7 +521,6 @@ lbValue lb_gen_map_header_table_internal(lbProcedure *p, Type *map_type) {
i64 value_offset = type_offset_of(map_type->Map.entry_type, 3);
i64 value_size = type_size_of (map_type->Map.value);
-
Type *key_type = map_type->Map.key;
Type *val_type = map_type->Map.value;
gb_unused(val_type);