File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -1803,14 +1803,12 @@ ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table) /* {{{
1803
1803
1804
1804
static zend_always_inline void i_free_compiled_variables (zend_execute_data * execute_data ) /* {{{ */
1805
1805
{
1806
- if (EXPECTED (EX (func )-> op_array .last_var > 0 )) {
1807
- zval * cv = EX_VAR_NUM (0 );
1808
- zval * end = cv + EX (func )-> op_array .last_var ;
1809
- do {
1810
- zval_ptr_dtor (cv );
1811
- cv ++ ;
1812
- } while (cv != end );
1813
- }
1806
+ zval * cv = EX_VAR_NUM (0 );
1807
+ zval * end = cv + EX (func )-> op_array .last_var ;
1808
+ while (EXPECTED (cv != end )) {
1809
+ zval_ptr_dtor (cv );
1810
+ cv ++ ;
1811
+ }
1814
1812
}
1815
1813
/* }}} */
1816
1814
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ static zend_always_inline zend_execute_data *zend_vm_stack_push_call_frame(uint3
194
194
195
195
static zend_always_inline void zend_vm_stack_free_extra_args_ex (uint32_t call_info , zend_execute_data * call )
196
196
{
197
- if (call_info & ZEND_CALL_FREE_EXTRA_ARGS ) {
197
+ if (UNEXPECTED ( call_info & ZEND_CALL_FREE_EXTRA_ARGS ) ) {
198
198
zval * end = ZEND_CALL_VAR_NUM (call , call -> func -> op_array .last_var + call -> func -> op_array .T );
199
199
zval * p = end + (ZEND_CALL_NUM_ARGS (call ) - call -> func -> op_array .num_args );
200
200
do {
You can’t perform that action at this time.
0 commit comments