Commits
Nadav Rotem committed 3f476f2be2c
Add a small peephole optimization to remove pure functions with no users.
For example, we want to remove this code:
@semantics("pure") func pure_func() -> Foo {
return Foo()
}
func baz() {
let unused = pure_func() // Remove this code.
}
Swift SVN r19656