Searched refs:switch_scope (Results 1 – 2 of 2) sorted by relevance
721 prog_scope *switch_scope = cur_scope->type() == switch_body ? in get_temp_registers_required_lifetimes() local727 acc[src.index].record_read(line, switch_scope, src.swizzle); in get_temp_registers_required_lifetimes()734 prog_scope *switch_scope = (cur_scope->type() == switch_body) ? in get_temp_registers_required_lifetimes() local736 assert(switch_scope->type() == switch_body); in get_temp_registers_required_lifetimes()737 prog_scope *scope = scopes.create(switch_scope, t, in get_temp_registers_required_lifetimes()738 switch_scope->id(), in get_temp_registers_required_lifetimes()739 switch_scope->nesting_depth() + 1, in get_temp_registers_required_lifetimes()742 if ((cur_scope != switch_scope) && (cur_scope->end() == -1)) in get_temp_registers_required_lifetimes()
5594 Scope* switch_scope = scope()->FinalizeBlockScope(); in ParseSwitchStatement() local5595 if (switch_scope != nullptr) { in ParseSwitchStatement()5596 return impl()->RewriteSwitchStatement(switch_statement, switch_scope); in ParseSwitchStatement()