SymbolRewriter: use iplist::splice
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 5 Jan 2015 17:56:32 +0000 (17:56 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 5 Jan 2015 17:56:32 +0000 (17:56 +0000)
commit150a1dc5c2ce5d035ed048c2b0d07ccf44537e0f
tree50fe1a62f296561af764eecd26ab099ca4bfcbc2
parentd37ce308886d5c5ab560569a5f3863b058e8d654
SymbolRewriter: use iplist::splice

The swap implementation for iplist is currently unsupported.  Simply splice the
old list into place, which achieves the same purpose.  This is needed in order
to thread the -frewrite-map-file frontend option correctly.  NFC.

llvm-svn: 225186
llvm/lib/Transforms/Utils/SymbolRewriter.cpp