Skip to content

Commit ce29717

Browse files
save opline
1 parent 787f26c commit ce29717

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
@@ -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)