Use a StringSet in Internalize, and allow to create the pass from an existing one...
authorMehdi Amini <mehdi.amini@apple.com>
Wed, 10 Feb 2016 23:24:31 +0000 (23:24 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Wed, 10 Feb 2016 23:24:31 +0000 (23:24 +0000)
commitc87d7d02e146b4ce92a8d908a87ade973777e469
tree20e1b57d0a619e911431256fab69c15c040018d8
parent0bfaa589f0ed91e3ac71868168d07344c5209ada
Use a StringSet in Internalize, and allow to create the pass from an existing one (NFC)

There is not reason to pass an array of "char *" to rebuild a set if
the client already has one.

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 260462
llvm/include/llvm/Transforms/IPO.h
llvm/lib/Transforms/IPO/Internalize.cpp