projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e66330
)
[jit] Add missing div check to OP_IREM_IMM.
author
Zoltan Varga
<vargaz@gmail.com>
Thu, 18 Feb 2016 23:36:05 +0000
(18:36 -0500)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 18 Feb 2016 23:36:14 +0000
(18:36 -0500)
mono/mini/decompose.c
patch
|
blob
|
history
diff --git
a/mono/mini/decompose.c
b/mono/mini/decompose.c
index 30e8f7f91dc88cf770d4e863477f4ea00ee160f0..498bfaafdb345273ce5e4db8957326974e9617c7 100644
(file)
--- a/
mono/mini/decompose.c
+++ b/
mono/mini/decompose.c
@@
-506,6
+506,7
@@
mono_decompose_opcode (MonoCompile *cfg, MonoInst *ins)
case OP_DIV_IMM:
case OP_REM_IMM:
case OP_IDIV_IMM:
+ case OP_IREM_IMM:
case OP_IDIV_UN_IMM:
case OP_IREM_UN_IMM:
if (cfg->backend->need_div_check) {