Lines Matching refs:new_root
599 zend_generator *new_root = get_new_root(generator, old_root); in zend_generator_update_current() local
602 generator->node.ptr.root = new_root; in zend_generator_update_current()
603 new_root->node.ptr.leaf = generator; in zend_generator_update_current()
606 zend_generator *new_root_parent = new_root->node.parent; in zend_generator_update_current()
608 zend_generator_remove_child(&new_root_parent->node, new_root); in zend_generator_update_current()
611 zend_op *yield_from = (zend_op *) new_root->execute_data->opline - 1; in zend_generator_update_current()
617 EG(current_execute_data) = new_root->execute_data; in zend_generator_update_current()
619 if (new_root == generator) { in zend_generator_update_current()
620 new_root->execute_data->prev_execute_data = original_execute_data; in zend_generator_update_current()
622 new_root->execute_data->prev_execute_data = &generator->execute_fake; in zend_generator_update_current()
627 new_root->execute_data->opline--; in zend_generator_update_current()
633 new_root->node.parent = NULL; in zend_generator_update_current()
639 zval_ptr_dtor(&new_root->value); in zend_generator_update_current()
640 ZVAL_COPY(&new_root->value, &new_root_parent->value); in zend_generator_update_current()
641 …ZVAL_COPY(ZEND_CALL_VAR(new_root->execute_data, yield_from->result.var), &new_root_parent->retval); in zend_generator_update_current()
646 new_root->node.parent = NULL; in zend_generator_update_current()
649 return new_root; in zend_generator_update_current()