1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fixup r303240: Use llvm::to_string instead of std::to_string

It turns out some of the buildbots don't have std::to_string around,
even in this day and age...

llvm-svn: 303243
This commit is contained in:
Diana Picus 2017-05-17 09:25:08 +00:00
parent 12d6cbde6e
commit d3ffb69a24

View File

@ -1538,10 +1538,10 @@ Expected<BuildMIAction &> GlobalISelEmitter::createAndImportInstructionRenderer(
}
if (NumDefaultOps + Dst->getNumChildren() != DstINumUses)
return failedImport("Expected " + std::to_string(DstINumUses) +
return failedImport("Expected " + llvm::to_string(DstINumUses) +
" used operands but found " +
std::to_string(Dst->getNumChildren()) +
" explicit ones and " + std::to_string(NumDefaultOps) +
llvm::to_string(Dst->getNumChildren()) +
" explicit ones and " + llvm::to_string(NumDefaultOps) +
" default ones");
return DstMIBuilder;