Skip to content

Commit f22239b

Browse files
committed
Remove 2 unused fields in ProjectionTreeNode. NFC.
1 parent c66fdac commit f22239b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

include/swift/SIL/Projection.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -721,12 +721,6 @@ class ProjectionTreeNode {
721721
/// In the root of the tree, this is the actual type.
722722
SILType BaseType;
723723

724-
/// The derived type.
725-
SILType DerivedType;
726-
727-
/// The base values we are tracking for which there is a Proj projection from.
728-
llvm::SmallVector<SILValue, 4> BaseValues;
729-
730724
/// The projection that this node represents. None in the root.
731725
llvm::Optional<Projection> Proj;
732726

@@ -762,13 +756,13 @@ class ProjectionTreeNode {
762756

763757
/// Constructor for the root of the tree.
764758
ProjectionTreeNode(SILType BaseTy)
765-
: Index(0), BaseType(BaseTy), BaseValues(), Proj(), Parent(),
759+
: Index(0), BaseType(BaseTy), Proj(), Parent(),
766760
NonProjUsers(), ChildProjections(), Initialized(false), IsLive(false) {}
767761

768762
// Normal constructor for non-root nodes.
769763
ProjectionTreeNode(ProjectionTreeNode *Parent, unsigned Index, SILType BaseTy,
770764
Projection P)
771-
: Index(Index), BaseType(BaseTy), BaseValues(), Proj(P),
765+
: Index(Index), BaseType(BaseTy), Proj(P),
772766
Parent(Parent->getIndex()), NonProjUsers(), ChildProjections(),
773767
Initialized(false), IsLive(false) {}
774768

0 commit comments

Comments
 (0)