File tree 1 file changed +0
-22
lines changed 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -707,28 +707,6 @@ overflow: ZEND_ATTRIBUTE_COLD_LABEL
707
707
#endif
708
708
}
709
709
710
- static zend_always_inline zend_result fast_add_function (zval * result , zval * op1 , zval * op2 )
711
- {
712
- if (EXPECTED (Z_TYPE_P (op1 ) == IS_LONG )) {
713
- if (EXPECTED (Z_TYPE_P (op2 ) == IS_LONG )) {
714
- fast_long_add_function (result , op1 , op2 );
715
- return SUCCESS ;
716
- } else if (EXPECTED (Z_TYPE_P (op2 ) == IS_DOUBLE )) {
717
- ZVAL_DOUBLE (result , ((double )Z_LVAL_P (op1 )) + Z_DVAL_P (op2 ));
718
- return SUCCESS ;
719
- }
720
- } else if (EXPECTED (Z_TYPE_P (op1 ) == IS_DOUBLE )) {
721
- if (EXPECTED (Z_TYPE_P (op2 ) == IS_DOUBLE )) {
722
- ZVAL_DOUBLE (result , Z_DVAL_P (op1 ) + Z_DVAL_P (op2 ));
723
- return SUCCESS ;
724
- } else if (EXPECTED (Z_TYPE_P (op2 ) == IS_LONG )) {
725
- ZVAL_DOUBLE (result , Z_DVAL_P (op1 ) + ((double )Z_LVAL_P (op2 )));
726
- return SUCCESS ;
727
- }
728
- }
729
- return add_function (result , op1 , op2 );
730
- }
731
-
732
710
static zend_always_inline void fast_long_sub_function (zval * result , zval * op1 , zval * op2 )
733
711
{
734
712
#if ZEND_USE_ASM_ARITHMETIC && defined(__i386__ ) && !(4 == __GNUC__ && 8 == __GNUC_MINOR__ )
You can’t perform that action at this time.
0 commit comments