aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_debug.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-05-18 11:29:27 +0100
committergingerBill <bill@gingerbill.org>2023-05-18 11:29:27 +0100
commit60ec3594ab05faaa46c7cac50e87571ab3f5eaa6 (patch)
treef28ec5f93d6dab8f8c5a8eb7bbde8ca7dd02c798 /src/llvm_backend_debug.cpp
parent49d1f6aca03672469d8fda0dedd27e330e698edc (diff)
Remove unused variable
Diffstat (limited to 'src/llvm_backend_debug.cpp')
-rw-r--r--src/llvm_backend_debug.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp
index 616ad3045..c39039361 100644
--- a/src/llvm_backend_debug.cpp
+++ b/src/llvm_backend_debug.cpp
@@ -618,8 +618,6 @@ gb_internal LLVMMetadataRef lb_debug_type(lbModule *m, Type *type) {
}
gb_internal void lb_debug_complete_types(lbModule *m) {
- /* unsigned const ptr_size = cast(unsigned)build_context.ptr_size; */
- unsigned const ptr_bits = cast(unsigned)(8*build_context.ptr_size);
unsigned const int_bits = cast(unsigned)(8*build_context.int_size);
for_array(debug_incomplete_type_index, m->debug_incomplete_types) {