Skip to content

Commit 70ef2f3

Browse files
committed
Use different scratch register in read_obj
We already use r0 to hold the zval.
1 parent 6993787 commit 70ef2f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10340,7 +10340,7 @@ static int zend_jit_fetch_obj_read(dasm_State **Dst, const zend_op *opline, cons
1034010340
if ((op1_info & ((MAY_BE_UNDEF|MAY_BE_ANY|MAY_BE_REF)- MAY_BE_OBJECT)) && zend_jit_trigger != ZEND_JIT_ON_HOT_TRACE) {
1034110341
|7:
1034210342
if (opline->opcode == ZEND_FETCH_OBJ_R) {
10343-
| SAVE_VALID_OPLINE opline, r0
10343+
| SAVE_VALID_OPLINE opline, r1
1034410344
if (op1_info & MAY_BE_UNDEF) {
1034510345
if (op1_info & MAY_BE_ANY) {
1034610346
| IF_NOT_ZVAL_TYPE op1_addr, IS_UNDEF, >1

0 commit comments

Comments
 (0)