@@ -562,7 +562,7 @@ static void float_div(zend_long a, zend_long b, zend_long *r1, zend_long *r2) {
562562
563563static bool zend_inference_calc_binary_op_range (
564564 const zend_op_array * op_array , const zend_ssa * ssa ,
565- const zend_op * opline , const zend_ssa_op * ssa_op , zend_uchar opcode , zend_ssa_range * tmp ) {
565+ const zend_op * opline , const zend_ssa_op * ssa_op , uint8_t opcode , zend_ssa_range * tmp ) {
566566 zend_long op1_min , op2_min , op1_max , op2_max , t1 , t2 , t3 , t4 ;
567567
568568 switch (opcode ) {
@@ -1881,7 +1881,7 @@ ZEND_API uint32_t ZEND_FASTCALL zend_array_type_info(const zval *zv)
18811881}
18821882
18831883
1884- ZEND_API uint32_t zend_array_element_type (uint32_t t1 , zend_uchar op_type , int write , int insert )
1884+ ZEND_API uint32_t zend_array_element_type (uint32_t t1 , uint8_t op_type , int write , int insert )
18851885{
18861886 uint32_t tmp = 0 ;
18871887
@@ -1943,7 +1943,7 @@ ZEND_API uint32_t zend_array_element_type(uint32_t t1, zend_uchar op_type, int w
19431943}
19441944
19451945static uint32_t assign_dim_array_result_type (
1946- uint32_t arr_type , uint32_t dim_type , uint32_t value_type , zend_uchar dim_op_type ) {
1946+ uint32_t arr_type , uint32_t dim_type , uint32_t value_type , uint8_t dim_op_type ) {
19471947 uint32_t tmp = 0 ;
19481948 /* Only add key type if we have a value type. We want to maintain the invariant that a
19491949 * key type exists iff a value type exists even in dead code that may use empty types. */
@@ -1987,7 +1987,7 @@ static uint32_t assign_dim_array_result_type(
19871987}
19881988
19891989static uint32_t assign_dim_result_type (
1990- uint32_t arr_type , uint32_t dim_type , uint32_t value_type , zend_uchar dim_op_type ) {
1990+ uint32_t arr_type , uint32_t dim_type , uint32_t value_type , uint8_t dim_op_type ) {
19911991 uint32_t tmp = arr_type & ~(MAY_BE_RC1 |MAY_BE_RCN );
19921992
19931993 if (arr_type & (MAY_BE_UNDEF |MAY_BE_NULL |MAY_BE_FALSE )) {
@@ -2008,7 +2008,7 @@ static uint32_t assign_dim_result_type(
20082008
20092009/* For binary ops that have compound assignment operators */
20102010static uint32_t binary_op_result_type (
2011- zend_ssa * ssa , zend_uchar opcode , uint32_t t1 , uint32_t t2 , int result_var ,
2011+ zend_ssa * ssa , uint8_t opcode , uint32_t t1 , uint32_t t2 , int result_var ,
20122012 zend_long optimization_level ) {
20132013 uint32_t tmp = 0 ;
20142014 uint32_t t1_type = (t1 & MAY_BE_ANY ) | (t1 & MAY_BE_UNDEF ? MAY_BE_NULL : 0 );
@@ -3335,7 +3335,7 @@ static zend_always_inline zend_result _zend_update_type_info(
33353335 tmp |= key_type | MAY_BE_ARRAY | MAY_BE_ARRAY_OF_NULL ;
33363336 }
33373337 while (j >= 0 ) {
3338- zend_uchar opcode ;
3338+ uint8_t opcode ;
33393339
33403340 if (!ssa_opcodes ) {
33413341 ZEND_ASSERT (j == (opline - op_array -> opcodes ) + 1 && "Use must be in next opline" );
@@ -3978,7 +3978,7 @@ static bool can_convert_to_double(
39783978 return 0 ;
39793979 }
39803980 } else {
3981- zend_uchar opcode = opline -> opcode ;
3981+ uint8_t opcode = opline -> opcode ;
39823982
39833983 if (opcode == ZEND_ASSIGN_OP ) {
39843984 opcode = opline -> extended_value ;
0 commit comments