diff options
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 18012fa7a2..23e798a3ef 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -493,13 +493,13 @@ static TypeTableEntry *get_slice_type(CodeGen *g, TypeTableEntry *child_type, bo ptr_debug_size_in_bits, ptr_debug_align_in_bits, ptr_offset_in_bits, - 0, child_type->di_type), + 0, pointer_type->di_type), LLVMZigCreateDebugMemberType(g->dbuilder, LLVMZigTypeToScope(entry->di_type), "len", di_file, line, len_debug_size_in_bits, len_debug_align_in_bits, len_offset_in_bits, - 0, child_type->di_type), + 0, isize_type->di_type), }; LLVMZigDIType *replacement_di_type = LLVMZigCreateDebugStructType(g->dbuilder, compile_unit_scope, |
