Fix positions for debug locations in defer, loops, and switch clauses

This commit is contained in:
gingerBill
2026-02-02 11:19:00 +00:00
parent fde90931de
commit 63c4faca75
4 changed files with 27 additions and 4 deletions

View File

@@ -1377,7 +1377,7 @@ gb_internal LLVMValueRef lb_integer_modulo(lbProcedure *p, LLVMValueRef lhs, LLV
if (LLVMIsConstant(rhs)) {
if (LLVMIsNull(rhs)) {
switch (behaviour) {
case IntegerDivisionByZero_trap:
case IntegerDivisionByZero_Trap:
break;
case IntegerDivisionByZero_Self:
return zero;