diff options
Diffstat (limited to 'src/lj_opt_dce.c')
-rw-r--r-- | src/lj_opt_dce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_dce.c b/src/lj_opt_dce.c index 90e81526..083239f6 100644 --- a/src/lj_opt_dce.c +++ b/src/lj_opt_dce.c | |||
@@ -45,7 +45,7 @@ static void dce_propagate(jit_State *J) | |||
45 | if (irt_ismarked(ir->t)) { | 45 | if (irt_ismarked(ir->t)) { |
46 | irt_clearmark(ir->t); | 46 | irt_clearmark(ir->t); |
47 | pchain[ir->o] = &ir->prev; | 47 | pchain[ir->o] = &ir->prev; |
48 | } else if (!(irt_isguard(ir->t) || irm_sideeff(lj_ir_mode[ir->o]))) { | 48 | } else if (!ir_sideeff(ir)) { |
49 | *pchain[ir->o] = ir->prev; /* Reroute original instruction chain. */ | 49 | *pchain[ir->o] = ir->prev; /* Reroute original instruction chain. */ |
50 | *pchain[IR_NOP] = (IRRef1)ins; | 50 | *pchain[IR_NOP] = (IRRef1)ins; |
51 | ir->t.irt = IRT_NIL; | 51 | ir->t.irt = IRT_NIL; |