[lld] r182033 - [lld] Do not create a temporary pair.

Rui Ueyama ruiu at google.com
Thu May 16 12:14:25 PDT 2013


I thought that the new code a bit cleaner because the repeated "->first"
were removed and the type become obvious, but I'm open to changing it.

llvm::tie wouldn't work because allocatedNew should change from false to
true only. Once it becomes true it shouldn't become false again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130516/365b5894/attachment.html>


More information about the llvm-commits mailing list