mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
IRGen: More refactoring in preparation for emitting async function pointers for dispatch thunks
This commit is contained in:
@@ -920,7 +920,7 @@ emitKeyPathComponent(IRGenModule &IGM,
|
||||
idKind = KeyPathComponentHeader::Pointer;
|
||||
// FIXME: Does this need to be signed?
|
||||
auto idRef = IGM.getAddrOfLLVMVariableOrGOTEquivalent(
|
||||
LinkEntity::forSILFunction(id.getFunction(), false));
|
||||
LinkEntity::forSILFunction(id.getFunction()));
|
||||
|
||||
idValue = idRef.getValue();
|
||||
// If we got an indirect reference, we'll need to resolve it at
|
||||
|
||||
Reference in New Issue
Block a user