Skip to content

Commit c958adc

Browse files
committed
POST_INC_OBJ/POST_DEC_OBJ don't have optional result
Possibly we should be encoding this in the opcode metadata, rather than maintaining a separate list. Fixes oss-fuzz #39503.
1 parent 9523542 commit c958adc

File tree

1 file changed

+0
-2
lines changed
  • ext/opcache/Optimizer

1 file changed

+0
-2
lines changed

ext/opcache/Optimizer/dce.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,7 @@ static zend_bool try_remove_var_def(context *ctx, int free_var, int use_chain, z
349349
case ZEND_PRE_INC:
350350
case ZEND_PRE_DEC:
351351
case ZEND_PRE_INC_OBJ:
352-
case ZEND_POST_INC_OBJ:
353352
case ZEND_PRE_DEC_OBJ:
354-
case ZEND_POST_DEC_OBJ:
355353
case ZEND_DO_ICALL:
356354
case ZEND_DO_UCALL:
357355
case ZEND_DO_FCALL_BY_NAME:

0 commit comments

Comments
 (0)