mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Rose: only use direct reports for external reports
This commit is contained in:
parent
cc5db61686
commit
b62711a18f
@ -598,6 +598,13 @@ bool RoseBuildImpl::isDirectReport(u32 id) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Use the program to handle cases that aren't external reports.
|
||||
for (const ReportID &id : g[v].reports) {
|
||||
if (!isExternalReport(rm.getReport(id))) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (literals.right.at(id).table == ROSE_ANCHORED) {
|
||||
/* in-edges are irrelevant for anchored region. */
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user