Lines Matching refs:EG

282 			zend_object *old_exception = EG(exception);  in zend_generator_dtor_storage()
283 const zend_op *old_opline_before_exception = EG(opline_before_exception); in zend_generator_dtor_storage()
284 EG(exception) = NULL; in zend_generator_dtor_storage()
293 EG(opline_before_exception) = old_opline_before_exception; in zend_generator_dtor_storage()
294 if (EG(exception)) { in zend_generator_dtor_storage()
295 zend_exception_set_previous(EG(exception), old_exception); in zend_generator_dtor_storage()
297 EG(exception) = old_exception; in zend_generator_dtor_storage()
459 zend_execute_data *original_execute_data = EG(current_execute_data); in zend_generator_throw_exception()
463 EG(current_execute_data) = generator->execute_data; in zend_generator_throw_exception()
469 zend_rethrow_exception(EG(current_execute_data)); in zend_generator_throw_exception()
479 EG(current_execute_data) = original_execute_data; in zend_generator_throw_exception()
564 …if (EXPECTED(EG(exception) == NULL) && EXPECTED((OBJ_FLAGS(&generator->std) & IS_OBJ_DESTRUCTOR_CA… in zend_generator_update_current()
570 zend_execute_data *original_execute_data = EG(current_execute_data); in zend_generator_update_current()
571 EG(current_execute_data) = new_root->execute_data; in zend_generator_update_current()
584 EG(current_execute_data) = original_execute_data; in zend_generator_update_current()
643 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value()
654 if (UNEXPECTED(EG(exception) != NULL) || UNEXPECTED(!value)) { in zend_generator_get_next_delegated_value()
664 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_get_next_delegated_value()
710 zend_execute_data *original_execute_data = EG(current_execute_data); in zend_generator_resume()
711 uint32_t original_jit_trace_num = EG(jit_trace_num); in zend_generator_resume()
714 EG(current_execute_data) = generator->execute_data; in zend_generator_resume()
715 EG(jit_trace_num) = 0; in zend_generator_resume()
733 EG(current_execute_data) = original_execute_data; in zend_generator_resume()
734 EG(jit_trace_num) = original_jit_trace_num; in zend_generator_resume()
750 | (EG(active_fiber) ? ZEND_GENERATOR_IN_FIBER : 0); in zend_generator_resume()
771 EG(current_execute_data) = original_execute_data; in zend_generator_resume()
772 EG(jit_trace_num) = original_jit_trace_num; in zend_generator_resume()
778 if (UNEXPECTED(EG(exception) != NULL)) { in zend_generator_resume()
781 if (!EG(current_execute_data)) { in zend_generator_resume()
783 } else if (EG(current_execute_data)->func && in zend_generator_resume()
784 ZEND_USER_CODE(EG(current_execute_data)->func->common.type)) { in zend_generator_resume()
785 zend_rethrow_exception(EG(current_execute_data)); in zend_generator_resume()
984 if (UNEXPECTED(EG(exception))) { in ZEND_METHOD()