mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
To set the PassKind automatically, I needed to refactor some code of the pass manager and the pass definitions. The main changes are: 1) SILPassManager now has an add-function for each pass: PM.add(createP()) -> PM.addP() 2) I removed the ARGS argument in Passes.def, which we didn't use anyway. Swift SVN r26756
5.4 KiB
5.4 KiB