swift
d4d1620f - Swift SIL: rework Instruction and BasicBlock lists to support deleting instructions during iteration

Commit
3 years ago
Swift SIL: rework Instruction and BasicBlock lists to support deleting instructions during iteration Replace the generic `List` with the (non-generic) `InstructionList` and `BasicBlockList`. The `InstructionList` is now a bit different than the `BasicBlockList` because it supports that instructions are deleted while iterating over the list. Also add a test pass which tests instruction modification while iteration.
Author
Committer
Parents
Loading