@@ -507,9 +507,9 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_leave_helper_SPEC(ZEND_OPCODE_
507
507
uint32_t call_info = EX_CALL_INFO();
508
508
509
509
if (EXPECTED((call_info & (ZEND_CALL_CODE|ZEND_CALL_TOP|ZEND_CALL_HAS_SYMBOL_TABLE|ZEND_CALL_FREE_EXTRA_ARGS|ZEND_CALL_ALLOCATED)) == 0)) {
510
+ EG(current_execute_data) = EX(prev_execute_data);
510
511
i_free_compiled_variables(execute_data);
511
512
512
- EG(current_execute_data) = EX(prev_execute_data);
513
513
if (UNEXPECTED(call_info & ZEND_CALL_RELEASE_THIS)) {
514
514
zend_object *object = Z_OBJ(execute_data->This);
515
515
#if 0
@@ -535,12 +535,12 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_leave_helper_SPEC(ZEND_OPCODE_
535
535
LOAD_NEXT_OPLINE();
536
536
ZEND_VM_LEAVE();
537
537
} else if (EXPECTED((call_info & (ZEND_CALL_CODE|ZEND_CALL_TOP)) == 0)) {
538
+ EG(current_execute_data) = EX(prev_execute_data);
538
539
i_free_compiled_variables(execute_data);
539
540
540
541
if (UNEXPECTED(call_info & ZEND_CALL_HAS_SYMBOL_TABLE)) {
541
542
zend_clean_and_cache_symbol_table(EX(symbol_table));
542
543
}
543
- EG(current_execute_data) = EX(prev_execute_data);
544
544
545
545
/* Free extra args before releasing the closure,
546
546
* as that may free the op_array. */
@@ -590,14 +590,14 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_leave_helper_SPEC(ZEND_OPCODE_
590
590
ZEND_VM_LEAVE();
591
591
} else {
592
592
if (EXPECTED((call_info & ZEND_CALL_CODE) == 0)) {
593
+ EG(current_execute_data) = EX(prev_execute_data);
593
594
i_free_compiled_variables(execute_data);
594
595
if (UNEXPECTED(call_info & (ZEND_CALL_HAS_SYMBOL_TABLE|ZEND_CALL_FREE_EXTRA_ARGS))) {
595
596
if (UNEXPECTED(call_info & ZEND_CALL_HAS_SYMBOL_TABLE)) {
596
597
zend_clean_and_cache_symbol_table(EX(symbol_table));
597
598
}
598
599
zend_vm_stack_free_extra_args_ex(call_info, execute_data);
599
600
}
600
- EG(current_execute_data) = EX(prev_execute_data);
601
601
if (UNEXPECTED(call_info & ZEND_CALL_CLOSURE)) {
602
602
OBJ_RELEASE(ZEND_CLOSURE_OBJECT(EX(func)));
603
603
}
@@ -55379,9 +55379,9 @@ ZEND_API void execute_ex(zend_execute_data *ex)
55379
55379
uint32_t call_info = EX_CALL_INFO();
55380
55380
55381
55381
if (EXPECTED((call_info & (ZEND_CALL_CODE|ZEND_CALL_TOP|ZEND_CALL_HAS_SYMBOL_TABLE|ZEND_CALL_FREE_EXTRA_ARGS|ZEND_CALL_ALLOCATED)) == 0)) {
55382
+ EG(current_execute_data) = EX(prev_execute_data);
55382
55383
i_free_compiled_variables(execute_data);
55383
55384
55384
- EG(current_execute_data) = EX(prev_execute_data);
55385
55385
if (UNEXPECTED(call_info & ZEND_CALL_RELEASE_THIS)) {
55386
55386
zend_object *object = Z_OBJ(execute_data->This);
55387
55387
#if 0
@@ -55407,12 +55407,12 @@ ZEND_API void execute_ex(zend_execute_data *ex)
55407
55407
LOAD_NEXT_OPLINE();
55408
55408
ZEND_VM_LEAVE();
55409
55409
} else if (EXPECTED((call_info & (ZEND_CALL_CODE|ZEND_CALL_TOP)) == 0)) {
55410
+ EG(current_execute_data) = EX(prev_execute_data);
55410
55411
i_free_compiled_variables(execute_data);
55411
55412
55412
55413
if (UNEXPECTED(call_info & ZEND_CALL_HAS_SYMBOL_TABLE)) {
55413
55414
zend_clean_and_cache_symbol_table(EX(symbol_table));
55414
55415
}
55415
- EG(current_execute_data) = EX(prev_execute_data);
55416
55416
55417
55417
/* Free extra args before releasing the closure,
55418
55418
* as that may free the op_array. */
@@ -55462,14 +55462,14 @@ ZEND_API void execute_ex(zend_execute_data *ex)
55462
55462
ZEND_VM_LEAVE();
55463
55463
} else {
55464
55464
if (EXPECTED((call_info & ZEND_CALL_CODE) == 0)) {
55465
+ EG(current_execute_data) = EX(prev_execute_data);
55465
55466
i_free_compiled_variables(execute_data);
55466
55467
if (UNEXPECTED(call_info & (ZEND_CALL_HAS_SYMBOL_TABLE|ZEND_CALL_FREE_EXTRA_ARGS))) {
55467
55468
if (UNEXPECTED(call_info & ZEND_CALL_HAS_SYMBOL_TABLE)) {
55468
55469
zend_clean_and_cache_symbol_table(EX(symbol_table));
55469
55470
}
55470
55471
zend_vm_stack_free_extra_args_ex(call_info, execute_data);
55471
55472
}
55472
- EG(current_execute_data) = EX(prev_execute_data);
55473
55473
if (UNEXPECTED(call_info & ZEND_CALL_CLOSURE)) {
55474
55474
OBJ_RELEASE(ZEND_CLOSURE_OBJECT(EX(func)));
55475
55475
}
0 commit comments