Commit Graph

4 Commits

Author SHA1 Message Date
practicalswift
a029589093 [gardening] Use consistent headers 2017-04-18 19:51:08 +02:00
Michael Gottesman
bbb89dcdf9 [di] Refactor out the handling of DelegatingInit related code out of ElementCollector into its own class.
There was no real code sharing going on here and instead due to the size of
ElementCollector made it difficult to ascertain without reading the code that
the two code paths are completely separate.

This is a NFC change internal to DIMemoryUseCollector that is not visible
outside of DI.

rdar://31521023
2017-04-16 18:34:10 -07:00
Michael Gottesman
6adcc2969e [semantic-sil] Change DefiniteInitialization to use the DIMemoryUseCollectorOwnership header instead of the normal DIMemoryUseCollector.
This is necessary since other passes rely on DIMemoryUseCollector.h and I want
to update each one of them individually to minimize disruption.

rdar://31521023
2017-04-13 16:41:53 -07:00
Michael Gottesman
464b61fb36 [semantic-sil] Copy DIMemoryUseCollector.{cpp,h} => DIMemoryUseCollectorOwnership.{cpp,h} so I can update the passes that use this functionality one at a time. 2017-04-11 09:24:36 -07:00