@@ -7957,6 +7957,10 @@ static int zend_jit_leave_func(dasm_State **Dst, const zend_op *opline, const ze
7957
7957
7958
7958
|=>jit_return_label:
7959
7959
7960
+ | // EG(current_execute_data) = EX(prev_execute_data);
7961
+ | mov r0, EX->prev_execute_data
7962
+ | MEM_OP2_1_ZTS mov, aword, executor_globals, current_execute_data, r0, r2
7963
+
7960
7964
// i_free_compiled_variables(execute_data);
7961
7965
if (!zend_jit_free_compiled_variables(Dst, opline, op_array, ssa)) {
7962
7966
return 0;
@@ -7969,9 +7973,6 @@ static int zend_jit_leave_func(dasm_State **Dst, const zend_op *opline, const ze
7969
7973
7970
7974
if ((op_array->scope && !(op_array->fn_flags & ZEND_ACC_STATIC)) ||
7971
7975
(op_array->fn_flags & ZEND_ACC_CLOSURE)) {
7972
- | // EG(current_execute_data) = EX(prev_execute_data);
7973
- | mov r0, EX->prev_execute_data
7974
- | MEM_OP2_1_ZTS mov, aword, executor_globals, current_execute_data, r0, r2
7975
7976
if (op_array->fn_flags & ZEND_ACC_CLOSURE) {
7976
7977
| // OBJ_RELEASE(ZEND_CLOSURE_OBJECT(EX(func)));
7977
7978
| mov r0, EX->func
@@ -7987,18 +7988,11 @@ static int zend_jit_leave_func(dasm_State **Dst, const zend_op *opline, const ze
7987
7988
| OBJ_RELEASE r0, ecx, >4
7988
7989
}
7989
7990
|4:
7990
- | // EG(vm_stack_top) = (zval*)execute_data;
7991
- | MEM_OP2_1_ZTS mov, aword, executor_globals, vm_stack_top, FP, r0
7992
- | // execute_data = EX(prev_execute_data);
7993
- | mov FP, EX->prev_execute_data
7994
- } else {
7995
- | // EG(vm_stack_top) = (zval*)execute_data;
7996
- | MEM_OP2_1_ZTS mov, aword, executor_globals, vm_stack_top, FP, r0
7997
- | // execute_data = EX(prev_execute_data);
7998
- | mov FP, EX->prev_execute_data
7999
- | // EG(current_execute_data) = execute_data
8000
- | MEM_OP2_1_ZTS mov, aword, executor_globals, current_execute_data, FP, r0
8001
7991
}
7992
+ | // EG(vm_stack_top) = (zval*)execute_data;
7993
+ | MEM_OP2_1_ZTS mov, aword, executor_globals, vm_stack_top, FP, r0
7994
+ | // execute_data = EX(prev_execute_data);
7995
+ | mov FP, EX->prev_execute_data
8002
7996
| // if (EG(exception))
8003
7997
| MEM_OP2_1_ZTS cmp, aword, executor_globals, exception, 0, r0
8004
7998
| LOAD_OPLINE
0 commit comments