Lines Matching refs:new_root
574 zend_generator *new_root = get_new_root(generator, old_root); in zend_generator_update_current() local
577 generator->node.ptr.root = new_root; in zend_generator_update_current()
578 new_root->node.ptr.leaf = generator; in zend_generator_update_current()
581 zend_generator *new_root_parent = new_root->node.parent; in zend_generator_update_current()
583 zend_generator_remove_child(&new_root_parent->node, new_root); in zend_generator_update_current()
586 zend_op *yield_from = (zend_op *) new_root->execute_data->opline - 1; in zend_generator_update_current()
592 EG(current_execute_data) = new_root->execute_data; in zend_generator_update_current()
594 if (new_root == generator) { in zend_generator_update_current()
595 new_root->execute_data->prev_execute_data = original_execute_data; in zend_generator_update_current()
597 new_root->execute_data->prev_execute_data = &generator->execute_fake; in zend_generator_update_current()
602 new_root->execute_data->opline--; in zend_generator_update_current()
608 new_root->node.parent = NULL; in zend_generator_update_current()
614 zval_ptr_dtor(&new_root->value); in zend_generator_update_current()
615 ZVAL_COPY(&new_root->value, &new_root_parent->value); in zend_generator_update_current()
616 …ZVAL_COPY(ZEND_CALL_VAR(new_root->execute_data, yield_from->result.var), &new_root_parent->retval); in zend_generator_update_current()
621 new_root->node.parent = NULL; in zend_generator_update_current()
624 return new_root; in zend_generator_update_current()