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 {
18081808 static Optional<SILDebugVariable>
18091809 createFromAllocation (const AllocationInst *AI);
18101810
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.
18141811 bool operator ==(const SILDebugVariable &V) {
18151812 return ArgNo == V.ArgNo && Constant == V.Constant && Name == V.Name &&
18161813 Implicit == V.Implicit && Type == V.Type && Loc == V.Loc &&
1817- Scope == V.Scope ;
1814+ Scope == V.Scope && DIExpr == DIExpr ;
18181815 }
18191816
18201817 bool isLet () const { return Name.size () && Constant; }
You can’t perform that action at this time.
0 commit comments