Commit f6072c6
committed
[Utils] Eliminate DISubprogram set from BuildDebugInfoMDMap
Summary:
Previously, we'd add all SPs distinct from the cloned one into a set. Then when cloning a local
scope we'd check if it's from one of those 'distinct' SPs by checking if it's in the set.
We don't need to do that. We can just check against the cloned SP directly and drop the set.
Test Plan:
ninja check-llvm-unit1 parent aa224af commit f6072c6
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | 177 | | |
179 | | - | |
| 178 | + | |
180 | 179 | | |
181 | | - | |
182 | | - | |
183 | 180 | | |
184 | 181 | | |
185 | 182 | | |
186 | 183 | | |
187 | 184 | | |
188 | | - | |
| 185 | + | |
189 | 186 | | |
190 | 187 | | |
191 | 188 | | |
| |||
0 commit comments