Skip to content

Commit 8c89f23

Browse files
committed
Use different scratch register
r1 clashes with FCARG1a on Windows, so use a different scratch register. FCARG2a should be free here. Hopefully fixes the AppVeyor build.
1 parent 547d98b commit 8c89f23

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
@@ -11624,7 +11624,7 @@ static zend_bool zend_jit_verify_return_type(dasm_State **Dst, const zend_op *op
1162411624
if (op1_info & MAY_BE_UNDEF) {
1162511625
| IF_NOT_ZVAL_TYPE op1_addr, IS_UNDEF, >8
1162611626
| mov FCARG1a, opline->op1.var
11627-
| EXT_CALL zend_jit_undefined_op_helper, r1
11627+
| EXT_CALL zend_jit_undefined_op_helper, FCARG2a
1162811628
| LOAD_ADDR_ZTS r0, executor_globals, uninitialized_zval
1162911629
}
1163011630
|8:

0 commit comments

Comments
 (0)