Fixed invalid type

This commit is contained in:
Dmitry Stogov 2017-10-04 16:06:57 +03:00
parent b611878bb8
commit e7afdb0668

View File

@ -2019,7 +2019,7 @@ static int try_remove_definition(sccp_ctx *ctx, int var_num, zend_ssa_var *var,
&& opline->opcode != ZEND_ADD_ARRAY_ELEMENT) {
/* Replace with QM_ASSIGN */
zend_uchar old_type = opline->result_type;
zend_uchar old_var = opline->result.var;
uint32_t old_var = opline->result.var;
ssa_op->result_def = -1;
zend_optimizer_remove_live_range_ex(op_array, opline->result.var, var->definition);