add debug safety checks for remainder division

See #217
This commit is contained in:
Andrew Kelley
2017-03-26 15:06:43 -04:00
parent 6ee63c8f58
commit 8aeea72654
7 changed files with 76 additions and 29 deletions

View File

@@ -110,7 +110,7 @@ static const char *ir_bin_op_id_str(IrBinOp op_id) {
return "*%";
case IrBinOpDiv:
return "/";
case IrBinOpMod:
case IrBinOpRem:
return "%";
case IrBinOpArrayCat:
return "++";