Skip to content

Commit

Permalink
[Don't merge!] test mac CI, rm std::transform
Browse files Browse the repository at this point in the history
  • Loading branch information
jumormt committed Jan 25, 2024
1 parent 7a5a0ba commit 7fc8a17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions svf-llvm/lib/ObjTypeInference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,9 @@ const Type *ObjTypeInference::fwInferObjType(const Value *startValue)
if (canUpdate)
{
Set<const Type *> types;
std::transform(infersites.begin(), infersites.end(), std::inserter(types, types.begin()),
infersiteToType);
for (const auto &infersite: infersites) {
types.insert(infersiteToType(infersite));
}
_valueToInferSites[curValue] = infersites;
_valueToType[curValue] = selectLargestType(types);
}
Expand Down

0 comments on commit 7fc8a17

Please sign in to comment.