@@ -38,7 +38,6 @@ struct SILDebugVariable {
3838 StringRef Name;
3939 unsigned ArgNo : 16 ;
4040 unsigned Constant : 1 ;
41- unsigned Implicit : 1 ;
4241 unsigned isDenseMapSingleton : 2 ;
4342 std::optional<SILType> Type;
4443 std::optional<SILLocation> Loc;
@@ -58,17 +57,17 @@ struct SILDebugVariable {
5857 }
5958
6059 SILDebugVariable ()
61- : ArgNo(0 ), Constant(false ), Implicit( false ), isDenseMapSingleton(0 ),
60+ : ArgNo(0 ), Constant(false ), isDenseMapSingleton(0 ),
6261 Scope (nullptr ) {}
6362 SILDebugVariable (bool Constant, uint16_t ArgNo)
64- : ArgNo(ArgNo), Constant(Constant), Implicit( false ),
63+ : ArgNo(ArgNo), Constant(Constant),
6564 isDenseMapSingleton(0 ), Scope(nullptr ) {}
6665 SILDebugVariable (StringRef Name, bool Constant, unsigned ArgNo,
67- bool IsImplicit = false , std::optional<SILType> AuxType = {},
66+ std::optional<SILType> AuxType = {},
6867 std::optional<SILLocation> DeclLoc = {},
6968 const SILDebugScope *DeclScope = nullptr ,
7069 llvm::ArrayRef<SILDIExprElement> ExprElements = {})
71- : Name(Name), ArgNo(ArgNo), Constant(Constant), Implicit(IsImplicit),
70+ : Name(Name), ArgNo(ArgNo), Constant(Constant),
7271 isDenseMapSingleton(0 ), Type(AuxType), Loc(DeclLoc), Scope(DeclScope),
7372 DIExpr(ExprElements) {}
7473
@@ -85,9 +84,8 @@ struct SILDebugVariable {
8584 // it in this class so that's it's easier to carry DIExpr around.
8685 bool operator ==(const SILDebugVariable &V) const {
8786 return ArgNo == V.ArgNo && Constant == V.Constant && Name == V.Name &&
88- Implicit == V.Implicit && Type == V.Type && Loc == V.Loc &&
89- Scope == V.Scope && isDenseMapSingleton == V.isDenseMapSingleton &&
90- DIExpr == V.DIExpr ;
87+ Type == V.Type && Loc == V.Loc && Scope == V.Scope &&
88+ isDenseMapSingleton == V.isDenseMapSingleton && DIExpr == V.DIExpr ;
9189 }
9290
9391 SILDebugVariable withoutDIExpr () const {
@@ -103,7 +101,7 @@ struct SILDebugVariable {
103101
104102// / Returns the hashcode for the new projection path.
105103inline llvm::hash_code hash_value (const SILDebugVariable &P) {
106- return llvm::hash_combine (P.ArgNo , P.Constant , P.Name , P. Implicit ,
104+ return llvm::hash_combine (P.ArgNo , P.Constant , P.Name ,
107105 P.isDenseMapSingleton , P.Type , P.Loc , P.Scope ,
108106 P.DIExpr );
109107}
0 commit comments