diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-03-26 15:06:43 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-03-26 15:06:43 -0400 |
| commit | 8aeea72654b2efbd068abe207b42170c4d27ee03 (patch) | |
| tree | 34d01fb3e41a7952c00e00088f10e5159d70c976 /src/ir_print.cpp | |
| parent | 6ee63c8f58357a2b97b6039beca90437ba8bf68c (diff) | |
| download | zig-8aeea72654b2efbd068abe207b42170c4d27ee03.tar.gz zig-8aeea72654b2efbd068abe207b42170c4d27ee03.zip | |
add debug safety checks for remainder division
See #217
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 8365aec050..b0e5fdc6c0 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -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 "++"; |
