Searched refs:enclosing_scope (Results 1 – 1 of 1) sorted by relevance
526 const prog_scope *enclosing_scope = enclosing_scope_first_read; in get_required_lifetime() local527 if (enclosing_scope_first_write->contains_range_of(*enclosing_scope)) in get_required_lifetime()528 enclosing_scope = enclosing_scope_first_write; in get_required_lifetime()530 if (last_read_scope->contains_range_of(*enclosing_scope)) in get_required_lifetime()531 enclosing_scope = last_read_scope; in get_required_lifetime()533 while (!enclosing_scope->contains_range_of(*enclosing_scope_first_write) || in get_required_lifetime()534 !enclosing_scope->contains_range_of(*last_read_scope)) { in get_required_lifetime()535 enclosing_scope = enclosing_scope->parent(); in get_required_lifetime()536 assert(enclosing_scope); in get_required_lifetime()540 while (enclosing_scope->nesting_depth() < last_read_scope->nesting_depth()) { in get_required_lifetime()[all …]