mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 14:23:33 +00:00
Fix positions for debug locations in defer, loops, and switch clauses
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user