mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-12 14:23:33 +00:00
Add case for completeness
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user