Remove the child loop form this loop.
| 267 | |
| 268 | // Remove the child loop form this loop. |
| 269 | inline void RemoveChildLoop(Loop* loop) { |
| 270 | nested_loops_.erase( |
| 271 | std::find(nested_loops_.begin(), nested_loops_.end(), loop)); |
| 272 | loop->SetParent(nullptr); |
| 273 | } |
| 274 | |
| 275 | // Mark this loop to be removed later by a call to |
| 276 | // LoopDescriptor::PostModificationCleanup. |