- should not have been applied

This commit is contained in:
Pierre Joye 2011-07-22 11:42:15 +00:00
parent ebe8f32891
commit f169f6f478
2 changed files with 2 additions and 1 deletions

View file

@ -31,7 +31,7 @@ ZEND_API void zend_init_fpu(TSRMLS_D) /* {{{ */
EG(saved_fpu_cw_ptr) = (void*)&EG(saved_fpu_cw); EG(saved_fpu_cw_ptr) = (void*)&EG(saved_fpu_cw);
} }
XPFPA_STORE_CW(EG(saved_fpu_cw_ptr)); XPFPA_STORE_CW(EG(saved_fpu_cw_ptr));
// XPFPA_SWITCH_DOUBLE(); XPFPA_SWITCH_DOUBLE();
#else #else
EG(saved_fpu_cw_ptr) = NULL; EG(saved_fpu_cw_ptr) = NULL;
#endif #endif

View file

@ -474,6 +474,7 @@ static zend_always_inline int fast_increment_function(zval *op1)
"0:" "0:"
: :
: "r"(op1)); : "r"(op1));
#else
if (UNEXPECTED(Z_LVAL_P(op1) == LONG_MAX)) { if (UNEXPECTED(Z_LVAL_P(op1) == LONG_MAX)) {
/* switch to double */ /* switch to double */
Z_DVAL_P(op1) = (double)LONG_MAX + 1.0; Z_DVAL_P(op1) = (double)LONG_MAX + 1.0;