Skip to content

Commit 89b12ae

Browse files
committed
Remove an unused member field in the SILLinkerVisitor.
NFC
1 parent 05ddf87 commit 89b12ae

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/SIL/Linker.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ class SILLinkerVisitor : public SILInstructionVisitor<SILLinkerVisitor, void> {
3333
/// Worklist of SILFunctions we are processing.
3434
llvm::SmallVector<SILFunction *, 128> Worklist;
3535

36-
/// A list of callees of the current instruction being visited. cleared after
37-
/// every instruction is visited.
38-
llvm::SmallVector<SILFunction *, 4> FunctionDeserializationWorklist;
39-
4036
/// The current linking mode.
4137
LinkingMode Mode;
4238

@@ -45,8 +41,7 @@ class SILLinkerVisitor : public SILInstructionVisitor<SILLinkerVisitor, void> {
4541

4642
public:
4743
SILLinkerVisitor(SILModule &M, SILModule::LinkingMode LinkingMode)
48-
: Mod(M), Worklist(), FunctionDeserializationWorklist(),
49-
Mode(LinkingMode), Changed(false) {}
44+
: Mod(M), Worklist(), Mode(LinkingMode), Changed(false) {}
5045

5146
/// Process F, recursively deserializing any thing F may reference.
5247
/// Returns true if any deserialization was performed.

0 commit comments

Comments
 (0)