Skip to content

Commit a819404

Browse files
committed
Refix opline usage
1 parent b1bd6f5 commit a819404

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Zend/zend_vm_def.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7857,7 +7857,7 @@ ZEND_VM_C_LABEL(call_trampoline_end):
78577857
ZEND_VM_RETURN();
78587858
}
78597859

7860-
opline = execute_data->opline;
7860+
LOAD_OPLINE();
78617861

78627862
if (object) {
78637863
OBJ_RELEASE(object);
@@ -7866,8 +7866,8 @@ ZEND_VM_C_LABEL(call_trampoline_end):
78667866

78677867
if (UNEXPECTED(EG(exception) != NULL)) {
78687868
zend_throw_exception_internal(NULL);
7869-
if (RETURN_VALUE_USED(opline)) {
7870-
zval_ptr_dtor(EX_VAR(opline->result.var));
7869+
if (RETURN_VALUE_USED(OPLINE)) {
7870+
zval_ptr_dtor(EX_VAR(OPLINE->result.var));
78717871
}
78727872
HANDLE_EXCEPTION_LEAVE();
78737873
}

Zend/zend_vm_execute.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,7 +1893,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_CALL_TRAMPOLINE_SPEC_HANDLER(Z
18931893
ZEND_VM_RETURN();
18941894
}
18951895

1896-
opline = execute_data->opline;
1896+
LOAD_OPLINE();
18971897

18981898
if (object) {
18991899
OBJ_RELEASE(object);
@@ -1902,8 +1902,8 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_CALL_TRAMPOLINE_SPEC_HANDLER(Z
19021902

19031903
if (UNEXPECTED(EG(exception) != NULL)) {
19041904
zend_throw_exception_internal(NULL);
1905-
if (RETURN_VALUE_USED(opline)) {
1906-
zval_ptr_dtor(EX_VAR(opline->result.var));
1905+
if (RETURN_VALUE_USED(OPLINE)) {
1906+
zval_ptr_dtor(EX_VAR(OPLINE->result.var));
19071907
}
19081908
HANDLE_EXCEPTION_LEAVE();
19091909
}

0 commit comments

Comments
 (0)