HomePhabricator

SmallPtrSet::find -> SmallPtrSet::count

Authored by bkramer on Jun 7 2020, 1:36 PM.

Description

SmallPtrSet::find -> SmallPtrSet::count

The latter is more readable and more efficient. While there clean up
some double lookups. NFCI.

Details

Committed
bkramerJun 7 2020, 1:38 PM
Parents
rGb6e143aa5448: Reland D80966 [codeview] Put !heapallocsite on calls to operator new
Branches
Unknown
Tags
Unknown