mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Assert no exception if using NEXT_OPCODE()
When NEXT_OPCODE() is used instead of NEXT_OPCODE_CHECK_EXCEPTION(), assert that there is indeed no exception.
This commit is contained in:
parent
5d0687e895
commit
b48bd671b8
@ -4319,6 +4319,7 @@ static zend_always_inline zend_execute_data *_zend_vm_stack_push_call_frame(uint
|
|||||||
if (check_exception) { \
|
if (check_exception) { \
|
||||||
OPLINE = EX(opline) + (skip); \
|
OPLINE = EX(opline) + (skip); \
|
||||||
} else { \
|
} else { \
|
||||||
|
ZEND_ASSERT(!EG(exception)); \
|
||||||
OPLINE = opline + (skip); \
|
OPLINE = opline + (skip); \
|
||||||
} \
|
} \
|
||||||
ZEND_VM_CONTINUE()
|
ZEND_VM_CONTINUE()
|
||||||
|
Loading…
Reference in New Issue
Block a user