@@ -38,7 +38,6 @@ struct SILDebugVariable {
38
38
StringRef Name;
39
39
unsigned ArgNo : 16 ;
40
40
unsigned Constant : 1 ;
41
- unsigned Implicit : 1 ;
42
41
unsigned isDenseMapSingleton : 2 ;
43
42
std::optional<SILType> Type;
44
43
std::optional<SILLocation> Loc;
@@ -58,17 +57,17 @@ struct SILDebugVariable {
58
57
}
59
58
60
59
SILDebugVariable ()
61
- : ArgNo(0 ), Constant(false ), Implicit( false ), isDenseMapSingleton(0 ),
60
+ : ArgNo(0 ), Constant(false ), isDenseMapSingleton(0 ),
62
61
Scope (nullptr ) {}
63
62
SILDebugVariable (bool Constant, uint16_t ArgNo)
64
- : ArgNo(ArgNo), Constant(Constant), Implicit( false ),
63
+ : ArgNo(ArgNo), Constant(Constant),
65
64
isDenseMapSingleton(0 ), Scope(nullptr ) {}
66
65
SILDebugVariable (StringRef Name, bool Constant, unsigned ArgNo,
67
- bool IsImplicit = false , std::optional<SILType> AuxType = {},
66
+ std::optional<SILType> AuxType = {},
68
67
std::optional<SILLocation> DeclLoc = {},
69
68
const SILDebugScope *DeclScope = nullptr ,
70
69
llvm::ArrayRef<SILDIExprElement> ExprElements = {})
71
- : Name(Name), ArgNo(ArgNo), Constant(Constant), Implicit(IsImplicit),
70
+ : Name(Name), ArgNo(ArgNo), Constant(Constant),
72
71
isDenseMapSingleton(0 ), Type(AuxType), Loc(DeclLoc), Scope(DeclScope),
73
72
DIExpr(ExprElements) {}
74
73
@@ -85,9 +84,8 @@ struct SILDebugVariable {
85
84
// it in this class so that's it's easier to carry DIExpr around.
86
85
bool operator ==(const SILDebugVariable &V) const {
87
86
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 ;
91
89
}
92
90
93
91
SILDebugVariable withoutDIExpr () const {
@@ -103,7 +101,7 @@ struct SILDebugVariable {
103
101
104
102
// / Returns the hashcode for the new projection path.
105
103
inline 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 ,
107
105
P.isDenseMapSingleton , P.Type , P.Loc , P.Scope ,
108
106
P.DIExpr );
109
107
}
0 commit comments