Skip to content

Commit fd5e451

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Revert "Fix GH-20890: Segfault in zval_undefined_cv with non-simple property hook with minimal tracing JIT"
2 parents 77c9c8c + 32c0245 commit fd5e451

File tree

3 files changed

+0
-49
lines changed

3 files changed

+0
-49
lines changed

NEWS

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ PHP NEWS
3131
. Fixed bug GH-20836 (Stack overflow in mb_convert_variables with
3232
recursive array references). (alexandre-daubois)
3333

34-
- Opcache:
35-
. Fixed bug GH-20890 (Segfault in zval_undefined_cv with non-simple
36-
property hook with minimal tracing JIT). (ndossche)
37-
3834
- Phar:
3935
. Fixed bug GH-20882 (buildFromIterator breaks with missing base directory).
4036
(ndossche)

ext/opcache/jit/zend_jit_trace.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -330,14 +330,6 @@ static int zend_jit_trace_may_exit(const zend_op_array *op_array, const zend_op
330330
// TODO: recompilation may change target ???
331331
return 0;
332332
#endif
333-
case ZEND_FETCH_OBJ_R:
334-
if (opline->op2_type == IS_CONST) {
335-
const zend_class_entry *ce = opline->op1_type == IS_UNUSED ? op_array->scope : NULL;
336-
if (!ce || !(ce->ce_flags & ZEND_ACC_FINAL) || ce->num_hooked_props > 0) {
337-
return 1;
338-
}
339-
}
340-
break;
341333
case ZEND_RETURN_BY_REF:
342334
case ZEND_RETURN:
343335
/* return */

ext/opcache/tests/jit/gh20890.phpt

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)