Skip to content

Commit e4c0c79

Browse files
authored
Apply suggestions from code review
1 parent d7152c7 commit e4c0c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenDistributed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ static llvm::Value *lookupWitnessTable(IRGenFunction &IGF, llvm::Value *witness,
600600

601601
// Sign the protocol descriptor.
602602
auto schema = IGF.IGM.getOptions().PointerAuth.ProtocolDescriptorsAsArguments;
603-
if (schema && protocolDescriptor) {
603+
if (schema && signedProtocolDescriptor) {
604604
auto authInfo = PointerAuthInfo::emit(
605605
IGF, schema, nullptr,
606606
PointerAuthEntity::Special::ProtocolDescriptorAsArgument);

0 commit comments

Comments
 (0)