Merge pull request #31585 from compnerd/likely

runtime: replace `LLVM_LIKELY` with `SWIFT_LIKELY` (NFC)
This commit is contained in:
Saleem Abdulrasool
2020-05-07 09:21:58 -07:00
committed by GitHub
2 changed files with 13 additions and 9 deletions

View File

@@ -2963,7 +2963,7 @@ findBridgeWitness(const Metadata *T) {
}
auto w = swift_conformsToObjectiveCBridgeable(T);
if (LLVM_LIKELY(w))
if (SWIFT_LIKELY(w))
return reinterpret_cast<const _ObjectiveCBridgeableWitnessTable *>(w);
// Class and ObjC existential metatypes can be bridged, but metatypes can't
// directly conform to protocols yet. Use a stand-in conformance for a type