Python: Remove manual TC from ssaShortCut.

This caused a massive slowdown on certain snapshots.
This commit is contained in:
Taus Brock-Nannestad
2020-01-06 13:40:52 +01:00
parent 9193a81e1a
commit 851d692996

View File

@@ -284,7 +284,7 @@ cached module PointsToInternal {
ssa_definition_points_to(var.getDefinition(), context, value, origin)
or
exists(EssaVariable prev |
ssaShortCut(prev, var) and
ssaShortCut+(prev, var) and
variablePointsTo(prev, context, value, origin)
)
}
@@ -305,10 +305,6 @@ cached module PointsToInternal {
start = def.getInput() and
end.getDefinition() = def
)
or
exists(EssaVariable mid |
ssaShortCut(start, mid) and ssaShortCut(mid, end)
)
}
pragma [noinline]