Skip to content

Commit 49891d8

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Save opline in zend_jit_hot_func()
2 parents b24addd + 061b46e commit 49891d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/opcache/jit/zend_jit.c

+4
Original file line numberDiff line numberDiff line change
@@ -3171,6 +3171,10 @@ void ZEND_FASTCALL zend_jit_hot_func(zend_execute_data *execute_data, const zend
31713171
op_array->opcodes[i].handler = jit_extension->orig_handlers[i];
31723172
}
31733173

3174+
#ifdef HAVE_GCC_GLOBAL_REGS
3175+
EX(opline) = opline;
3176+
#endif
3177+
31743178
/* perform real JIT for this function */
31753179
zend_real_jit_func(op_array, NULL, opline, ZEND_JIT_ON_HOT_COUNTERS);
31763180
} zend_catch {

0 commit comments

Comments
 (0)