Skip to content

Commit abac1f6

Browse files
save opline
1 parent 6d458ca commit abac1f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/opcache/jit/zend_jit.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3033,6 +3033,10 @@ void ZEND_FASTCALL zend_jit_hot_func(zend_execute_data *execute_data, const zend
30333033
op_array->opcodes[i].handler = jit_extension->orig_handlers[i];
30343034
}
30353035

3036+
#ifdef HAVE_GCC_GLOBAL_REGS
3037+
EX(opline) = opline;
3038+
#endif
3039+
30363040
/* perform real JIT for this function */
30373041
zend_real_jit_func(op_array, NULL, opline, ZEND_JIT_ON_HOT_COUNTERS);
30383042
} zend_catch {

0 commit comments

Comments
 (0)