Skip to content

Commit ca1ee03

Browse files
committed
Also reset hot handlers
Signed-off-by: Bob Weinand <[email protected]>
1 parent a60ac75 commit ca1ee03

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ext/opcache/jit/zend_jit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ static bool zend_may_be_dynamic_property(zend_class_entry *ce, zend_string *memb
706706
# endif
707707
#endif
708708

709-
void zend_jit_status(zval *ret)
709+
ZEND_EXT_API void zend_jit_status(zval *ret)
710710
{
711711
zval stats;
712712
array_init(&stats);

ext/opcache/jit/zend_jit_trace.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7608,6 +7608,8 @@ ZEND_EXT_API void zend_jit_blacklist_function(zend_op_array *op_array) {
76087608
return;
76097609
}
76107610

7611+
zend_jit_stop_persistent_op_array(op_array);
7612+
76117613
// First not-skipped op
76127614
zend_op *opline = op_array->opcodes;
76137615
if (!(op_array->fn_flags & ZEND_ACC_HAS_TYPE_HINTS)) {

0 commit comments

Comments
 (0)