mirror of
https://github.com/php/php-src.git
synced 2026-04-07 16:13:32 +02:00
Fixed operation with result in CPU register
This commit is contained in:
@@ -3038,10 +3038,12 @@ static int zend_jit_math_long_long(dasm_State **Dst,
|
||||
| jo >1
|
||||
}
|
||||
|
||||
| SET_ZVAL_LVAL res_addr, Ra(result_reg)
|
||||
if (Z_MODE(op1_addr) != IS_MEM_ZVAL || Z_REG(op1_addr) != Z_REG(res_addr) || Z_OFFSET(op1_addr) != Z_OFFSET(res_addr)) {
|
||||
if ((res_use_info & (MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_REF)) != MAY_BE_LONG) {
|
||||
| SET_ZVAL_TYPE_INFO res_addr, IS_LONG
|
||||
if (Z_MODE(res_addr) == IS_MEM_ZVAL) {
|
||||
| SET_ZVAL_LVAL res_addr, Ra(result_reg)
|
||||
if (Z_MODE(op1_addr) != IS_MEM_ZVAL || Z_REG(op1_addr) != Z_REG(res_addr) || Z_OFFSET(op1_addr) != Z_OFFSET(res_addr)) {
|
||||
if ((res_use_info & (MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_REF)) != MAY_BE_LONG) {
|
||||
| SET_ZVAL_TYPE_INFO res_addr, IS_LONG
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user