diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-04-25 04:30:06 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-04-25 04:30:06 +0000 |
| commit | fc7dc930318ced3246bdab82068910da1059a4e6 (patch) | |
| tree | b05dec436858620ce55e42e9509159524a555451 /llvm/lib/CodeGen/MachineCodeEmitter.cpp | |
| parent | e6cb63e471c56fa7e90916ec81da76a2604e388f (diff) | |
| download | llvm-fc7dc930318ced3246bdab82068910da1059a4e6.zip llvm-fc7dc930318ced3246bdab82068910da1059a4e6.tar.gz llvm-fc7dc930318ced3246bdab82068910da1059a4e6.tar.bz2 | |
blockfreq: Use a std::list for Loops
As pointed out by David Blaikie in code review, a `std::list<T>` is
simpler than a `std::vector<std::unique_ptr<T>>`. Another option is a
`std::deque<T>` (which allocates in chunks), but I'd like to leave open
the option of inserting in the middle of the sequence for handling
irreducible control flow on the fly.
<rdar://problem/14292693>
llvm-svn: 207177
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
