Dataflow: Precalculate AccessPath to avoid massive recursion.

This commit is contained in:
Anders Schack-Mulligen
2020-09-10 16:30:24 +02:00
committed by Tom Hvitved
parent ca534ccb03
commit 4e2f786040

View File

@@ -2098,7 +2098,7 @@ private class SummaryCtxSome extends SummaryCtx, TSummaryCtxSome {
private newtype TAccessPath =
TAccessPathNil(DataFlowType t) or
TAccessPathCons(TypedContent head, AccessPath tail) { pathStoreStep(_, _, tail, _, head, _) }
TAccessPathCons(TypedContent head, AccessPath tail) { flowConsCand(head, tail.getApprox(), _) }
private newtype TPathNode =
TPathNodeMid(