1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 14:33:02 +02:00
llvm-mirror/lib/Bitcode
Duncan P. N. Exon Smith 969e6070d4 BitcodeReader: Use std:::piecewise_construct when upgrading type refs
r267296 used std::piecewise_construct without using
std::forward_as_tuple, and r267298 hacked it out (using an emplace_back
followed by a couple of reset() calls) because of a problem on a bot.
I'm finally circling back to call forward_as_tuple as I should have to
begin with (thanks to David Blaikie for pointing out the missing piece).

Note that this code uses emplace_back() instead of
push_back(make_pair()) because the move constructor for TrackingMDRef is
expensive (cheaper than a copy, but still expensive).

llvm-svn: 272306
2016-06-09 20:46:33 +00:00
..
Reader BitcodeReader: Use std:::piecewise_construct when upgrading type refs 2016-06-09 20:46:33 +00:00
Writer [DebugInfo] Add calling convention support for DWARF and CodeView 2016-06-08 20:34:29 +00:00
CMakeLists.txt
LLVMBuild.txt