Commit bb292c3
committed
Fixes linking issue, where PTS requires getNumGlobals
We need to move getNumGlobals into the ProjectIRDB header because the
current implementation of the PointsToSet constructor uses it, however,
phasar_db(ProjectIRDB) links against phasar_pointer, so we cannot link
PointsToSet against phasar_db. By defining the function in the header we
cirmumvent this issue, however, we should be careful to not introduce
cyclic dependencies in the future.1 parent ed67292 commit bb292c3
2 files changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
176 | 182 | | |
177 | 183 | | |
178 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | 240 | | |
249 | 241 | | |
250 | 242 | | |
| |||
0 commit comments