File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1808,13 +1808,10 @@ struct SILDebugVariable {
1808
1808
static Optional<SILDebugVariable>
1809
1809
createFromAllocation (const AllocationInst *AI);
1810
1810
1811
- // We're not comparing DIExpr here because strictly speaking,
1812
- // DIExpr is not part of the debug variable. We simply piggyback
1813
- // it in this class so that's it's easier to carry DIExpr around.
1814
1811
bool operator ==(const SILDebugVariable &V) {
1815
1812
return ArgNo == V.ArgNo && Constant == V.Constant && Name == V.Name &&
1816
1813
Implicit == V.Implicit && Type == V.Type && Loc == V.Loc &&
1817
- Scope == V.Scope ;
1814
+ Scope == V.Scope && DIExpr == DIExpr ;
1818
1815
}
1819
1816
1820
1817
bool isLet () const { return Name.size () && Constant; }
You can’t perform that action at this time.
0 commit comments