Skip to content

Commit 047f023

Browse files
committed
ZREG_REG0 is not available in x86 build
1 parent 3da4b3c commit 047f023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7500,7 +7500,7 @@ int ZEND_FASTCALL zend_jit_trace_exit(uint32_t exit_num, zend_jit_registers_buf
75007500
}
75017501
}
75027502
if (t->exit_info[exit_num].flags & ZEND_JIT_EXIT_METHOD_CALL) {
7503-
zend_function *func = (zend_function*)regs->gpr[ZREG_REG0];
7503+
zend_function *func = (zend_function*)regs->gpr[ZREG_COPY];
75047504

75057505
if (UNEXPECTED(func->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) {
75067506
zend_string_release_ex(func->common.function_name, 0);

0 commit comments

Comments
 (0)