Skip to content

Commit

Permalink
Side exit on overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Jul 17, 2020
1 parent 1cba736 commit 83478d4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ext/opcache/jit/zend_jit_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,11 @@ static int is_checked_guard(const zend_ssa *tssa, const zend_op **ssa_opcodes, u
|| opline->opcode == ZEND_POST_DEC
|| opline->opcode == ZEND_POST_INC) {
return 1;
} else if (opline->opcode == ZEND_ASSIGN_OP
&& (opline->extended_value == ZEND_ADD
|| opline->extended_value == ZEND_SUB
|| opline->extended_value == ZEND_MUL)) {
return 1;
}
}
if (tssa->ops[idx].result_def == var) {
Expand Down

0 comments on commit 83478d4

Please sign in to comment.