Fix value elision on declaration

This commit is contained in:
gingerBill
2023-03-09 15:39:41 +00:00
parent 9af6d6c9c6
commit 7c0257fcda
5 changed files with 33 additions and 12 deletions

View File

@@ -989,7 +989,6 @@ gb_internal void lb_add_debug_local_variable(lbProcedure *p, LLVMValueRef ptr, T
return;
}
AstFile *file = p->body->file();
LLVMMetadataRef llvm_scope = lb_get_current_debug_scope(p);