1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

MSVC complains about this being ambiguous.

llvm-svn: 254782
This commit is contained in:
Rafael Espindola 2015-12-04 22:26:21 +00:00
parent c8c41976a3
commit ac9c1410c0

View File

@ -124,8 +124,8 @@ void LTOCodeGenerator::setModule(std::unique_ptr<LTOModule> Mod) {
AsmUndefinedRefs.clear();
MergedModule = Mod->takeModule();
IRLinker =
make_unique<Linker>(*MergedModule, IRLinker->getDiagnosticHandler());
IRLinker = llvm::make_unique<Linker>(*MergedModule,
IRLinker->getDiagnosticHandler());
const std::vector<const char*> &Undefs = Mod->getAsmUndefinedRefs();
for (int I = 0, E = Undefs.size(); I != E; ++I)