Dataflow: Avoid duplication in fwdFlow1 disjunction.

This commit is contained in:
Anders Schack-Mulligen
2025-01-28 15:33:22 +01:00
parent b2d42ee49a
commit 2597ef651b

View File

@@ -415,7 +415,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
private predicate compatibleContainer0(ApHeadContent apc, DataFlowType containerType) {
exists(DataFlowType containerType0, Content c |
PrevStage::storeStepCand(_, c, _, _, containerType0) and
not isTopType(containerType0) and
not topTypeContent(apc) and
compatibleTypesCached(containerType0, containerType) and
apc = projectToHeadContent(c)
)