mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Properly cleanup in case of abort because too many functions in single trace.
This commit is contained in:
parent
d66a6ba58a
commit
8d773a768f
@ -1009,6 +1009,7 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin
|
||||
/* pass */
|
||||
} else if (num_op_arrays == ZEND_JIT_TRACE_MAX_FUNCS) {
|
||||
/* Too many functions in single trace */
|
||||
*num_op_arrays_ptr = num_op_arrays;
|
||||
return NULL;
|
||||
} else {
|
||||
/* Remember op_array to cleanup */
|
||||
@ -1026,6 +1027,7 @@ static zend_ssa *zend_jit_trace_build_tssa(zend_jit_trace_rec *trace_buffer, uin
|
||||
/* pass */
|
||||
} else if (num_op_arrays == ZEND_JIT_TRACE_MAX_FUNCS) {
|
||||
/* Too many functions in single trace */
|
||||
*num_op_arrays_ptr = num_op_arrays;
|
||||
return NULL;
|
||||
} else {
|
||||
/* Remember op_array to cleanup */
|
||||
|
Loading…
Reference in New Issue
Block a user