1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4'

* PHP-8.4:
  Save opline in zend_jit_hot_func()
This commit is contained in:
Arnaud Le Blanc
2025-04-15 14:11:53 +02:00

View File

@@ -3171,6 +3171,10 @@ void ZEND_FASTCALL zend_jit_hot_func(zend_execute_data *execute_data, const zend
op_array->opcodes[i].handler = jit_extension->orig_handlers[i];
}
#ifdef HAVE_GCC_GLOBAL_REGS
EX(opline) = opline;
#endif
/* perform real JIT for this function */
zend_real_jit_func(op_array, NULL, opline, ZEND_JIT_ON_HOT_COUNTERS);
} zend_catch {