mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-07-13 14:04:44 +03:00
rose: only use anch history when there are bounds
This commit is contained in:
parent
f55e968692
commit
8d31607556
@ -453,7 +453,8 @@ RoseRoleHistory findHistoryScheme(const RoseBuildImpl &tbi, const RoseEdge &e) {
|
|||||||
return ROSE_ROLE_HISTORY_NONE;
|
return ROSE_ROLE_HISTORY_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g[u].fixedOffset()) {
|
if (g[u].fixedOffset() &&
|
||||||
|
(g[e].minBound || g[e].maxBound != ROSE_BOUND_INF)) {
|
||||||
DEBUG_PRINTF("fixed offset -> anch\n");
|
DEBUG_PRINTF("fixed offset -> anch\n");
|
||||||
return ROSE_ROLE_HISTORY_ANCH;
|
return ROSE_ROLE_HISTORY_ANCH;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user