Move SAVE_OPLINE() to its original place

This commit is contained in:
Dmitry Stogov 2016-05-25 00:04:53 +03:00
parent 111432a4df
commit 0c71e24964
2 changed files with 2 additions and 2 deletions

View File

@ -7537,10 +7537,10 @@ ZEND_VM_HANDLER(159, ZEND_DISCARD_EXCEPTION, ANY, ANY)
{ {
USE_OPLINE USE_OPLINE
zval *fast_call = EX_VAR(opline->op1.var); zval *fast_call = EX_VAR(opline->op1.var);
SAVE_OPLINE();
/* check for delayed exception */ /* check for delayed exception */
if (Z_OBJ_P(fast_call) != NULL) { if (Z_OBJ_P(fast_call) != NULL) {
SAVE_OPLINE();
/* discard the previously thrown exception */ /* discard the previously thrown exception */
OBJ_RELEASE(Z_OBJ_P(fast_call)); OBJ_RELEASE(Z_OBJ_P(fast_call));
Z_OBJ_P(fast_call) = NULL; Z_OBJ_P(fast_call) = NULL;

View File

@ -1816,10 +1816,10 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL ZEND_DISCARD_EXCEPTION_SPEC_HANDLER
{ {
USE_OPLINE USE_OPLINE
zval *fast_call = EX_VAR(opline->op1.var); zval *fast_call = EX_VAR(opline->op1.var);
SAVE_OPLINE();
/* check for delayed exception */ /* check for delayed exception */
if (Z_OBJ_P(fast_call) != NULL) { if (Z_OBJ_P(fast_call) != NULL) {
SAVE_OPLINE();
/* discard the previously thrown exception */ /* discard the previously thrown exception */
OBJ_RELEASE(Z_OBJ_P(fast_call)); OBJ_RELEASE(Z_OBJ_P(fast_call));
Z_OBJ_P(fast_call) = NULL; Z_OBJ_P(fast_call) = NULL;