diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-02-02 11:33:21 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-02 11:33:21 +0000 |
| commit | b9e4007cb190c1a5d96e7786e726dcbcac1d08c9 (patch) | |
| tree | 37abe1e7e329c02fa541f5d0534a1ac1ea0713f6 /src/llvm_backend_expr.cpp | |
| parent | c85af4a454dac14a8b557fa80fe68f5bf1905673 (diff) | |
| parent | 63c4faca75635c0203ff576d7392fe7a0f9bca6c (diff) | |
Merge pull request #6216 from odin-lang/bill/debug-info-fixes
Debug Info Fixes
Diffstat (limited to 'src/llvm_backend_expr.cpp')
| -rw-r--r-- | src/llvm_backend_expr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/llvm_backend_expr.cpp b/src/llvm_backend_expr.cpp index aba196af8..d4acfa196 100644 --- a/src/llvm_backend_expr.cpp +++ b/src/llvm_backend_expr.cpp @@ -1377,6 +1377,8 @@ gb_internal LLVMValueRef lb_integer_modulo(lbProcedure *p, LLVMValueRef lhs, LLV if (LLVMIsConstant(rhs)) { if (LLVMIsNull(rhs)) { switch (behaviour) { + case IntegerDivisionByZero_Trap: + break; case IntegerDivisionByZero_Self: return zero; case IntegerDivisionByZero_Zero: |