Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LowerTypes] refactor away the opsToErase vector, NFC.
There is only ever one op to erase, the current op being visited. Instead of conditionally adding the op to the vector, change the visitor to return true when the op should be erased. This just slightly strength reduces the logic to make it more clear what is happening.
- Loading branch information