mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #31585 from compnerd/likely
runtime: replace `LLVM_LIKELY` with `SWIFT_LIKELY` (NFC)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user