Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ext/opcache/jit/zend_jit_arm64.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -9537,6 +9537,9 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
| SAVE_IP
| mov FCARG1x, FP
| EXT_CALL zend_observer_fcall_begin, REG0
/* check for interrupt to ensure execution in inlined functions can be observed via interrupt and possibly deoptimized */
| MEM_LOAD_8_ZTS ldrb, TMP1w, executor_globals, vm_interrupt, TMP1
| cbnz TMP1w, ->interrupt_handler
}
#ifdef CONTEXT_THREADED_JIT
| NIY // TODO
Expand Down Expand Up @@ -9636,6 +9639,9 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
| SAVE_IP
| mov FCARG1x, FP
| EXT_CALL zend_observer_fcall_begin, REG0
/* check for interrupt to ensure execution in inlined functions can be observed via interrupt and possibly deoptimized */
| MEM_LOAD_8_ZTS ldrb, TMP1w, executor_globals, vm_interrupt, TMP1
| cbnz TMP1w, ->interrupt_handler
}

if (trace) {
Expand Down
6 changes: 6 additions & 0 deletions ext/opcache/jit/zend_jit_x86.dasc
Original file line number Diff line number Diff line change
Expand Up @@ -10218,6 +10218,9 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
| SAVE_IP
| mov FCARG1a, FP
| EXT_CALL zend_observer_fcall_begin, r0
/* check for interrupt to ensure execution in inlined functions can be observed via interrupt and possibly deoptimized */
| MEM_CMP_ZTS byte, executor_globals, vm_interrupt, 0, r0
| jne ->interrupt_handler
}
#ifdef CONTEXT_THREADED_JIT
| call >1
Expand Down Expand Up @@ -10328,6 +10331,9 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
| SAVE_IP
| mov FCARG1a, FP
| EXT_CALL zend_observer_fcall_begin, r0
/* check for interrupt to ensure execution in inlined functions can be observed via interrupt and possibly deoptimized */
| MEM_CMP_ZTS byte, executor_globals, vm_interrupt, 0, r0
| jne ->interrupt_handler
}

if (trace) {
Expand Down