From: Nikita Popov Date: Wed, 18 Mar 2020 08:56:23 +0000 (+0100) Subject: Use different scratch register in read_obj X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70ef2f38173160652c4dcc2b53810604efce963d;p=php Use different scratch register in read_obj We already use r0 to hold the zval. --- diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc index 7cf542636c..de5f036059 100644 --- a/ext/opcache/jit/zend_jit_x86.dasc +++ b/ext/opcache/jit/zend_jit_x86.dasc @@ -10340,7 +10340,7 @@ static int zend_jit_fetch_obj_read(dasm_State **Dst, const zend_op *opline, cons if ((op1_info & ((MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF)- MAY_BE_OBJECT)) && zend_jit_trigger != ZEND_JIT_ON_HOT_TRACE) { |7: if (opline->opcode == ZEND_FETCH_OBJ_R) { - | SAVE_VALID_OPLINE opline, r0 + | SAVE_VALID_OPLINE opline, r1 if (op1_info & MAY_BE_UNDEF) { if (op1_info & MAY_BE_ANY) { | IF_NOT_ZVAL_TYPE op1_addr, IS_UNDEF, >1