| 38 | OF_PROFILER_RANGE_GUARD("R:" + instruction->DebugName()); |
| 39 | auto* access_list = instruction->mut_access_list(); |
| 40 | INTRUSIVE_FOR_EACH(access, access_list) { |
| 41 | CHECK_GT(access->ref_cnt(), 1); |
| 42 | access_list->Erase(access.Mutable()); |
| 43 | auto* dependence = access->mut_dependence(); |
| 44 | if (unlikely(!access->rw_mutexed_object_access_hook().empty())) { |
| 45 | dependence->mut_access_list()->Erase(access.Mutable()); |
| 46 | } |
| 47 | } |
| 48 | auto* out_edges = instruction->mut_out_edges(); |
| 49 | INTRUSIVE_FOR_EACH_PTR(out_edge, out_edges) { |
| 50 | Instruction* out_instruction = out_edge->mut_dst_instruction(); |