Attempt to unbreak the expensive-checks-win bot

llvm-svn: 316625
This commit is contained in:
Matthew Simpson 2017-10-25 22:46:34 +00:00
parent b8a59c8aa5
commit 99f57933ba
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ public:
std::set<Function *, CVPLatticeVal::Compare> Union;
std::set_union(X.getFunctions().begin(), X.getFunctions().end(),
Y.getFunctions().begin(), Y.getFunctions().end(),
std::inserter(Union, Union.begin()));
std::inserter(Union, Union.begin()),
CVPLatticeVal::Compare{});
if (Union.size() > MaxFunctionsPerValue)
return getOverdefinedVal();
return CVPLatticeVal(std::move(Union));