| commit | 3dbe10503aea12c952045e2f0f27762c70641dea | [log] [tgz] |
|---|---|---|
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Mar 25 18:01:38 2014 +0000 |
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Tue Mar 25 18:01:38 2014 +0000 |
| tree | 825437563ee80aa367b521fc56efd1872cc7485d | |
| parent | 936aef92387fd46294a4915a3f5dbf2ce93b77f7 [diff] |
blockfreq: Implement Pass::releaseMemory() Implement Pass::releaseMemory() in BlockFrequencyInfo and MachineBlockFrequencyInfo. Just delete the private implementation when not in use. Switch to a std::unique_ptr to make the logic more clear. <rdar://problem/14292693> llvm-svn: 204741