Skip to content

Commit d92a9d9

Browse files
committed
Prune redundant logic
1 parent 28c568a commit d92a9d9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/ProfileData/Coverage/CoverageMapping.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,6 @@ Counter CounterExpressionBuilder::subst(Counter C, const SubstMap &Map) {
157157
break;
158158
}
159159

160-
// Reconfirm if the reconstructed expression would hit the Map.
161-
if (auto I = Map.find(C); I != Map.end())
162-
return I->second;
163-
164160
return C;
165161
}
166162

0 commit comments

Comments
 (0)