Skip to content

Commit ab07ca9

Browse files
committed
[NFC] Remove unused AddressableParams set
1 parent e98f352 commit ab07ca9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/SILGen/SILGenProlog.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,6 @@ class ArgumentInitHelper {
631631
std::optional<FunctionInputGenerator> FormalParamTypes;
632632

633633
SmallPtrSet<ParamDecl *, 2> ScopedDependencies;
634-
SmallPtrSet<ParamDecl *, 2> AddressableParams;
635634

636635
public:
637636
ArgumentInitHelper(SILGenFunction &SGF,
@@ -736,9 +735,6 @@ class ArgumentInitHelper {
736735
|| (ScopedDependencies.contains(pd)
737736
&& SGF.getTypeProperties(origType, substType)
738737
.isAddressableForDependencies());
739-
if (isAddressable) {
740-
AddressableParams.insert(pd);
741-
}
742738
paramValue = argEmitter.handleParam(origType, substType, pd,
743739
isAddressable);
744740
}

0 commit comments

Comments
 (0)