Merge pull request #2592 from tausbn/python-remove-manual-tc-in-ssashortcut

Python: Remove manual TC from `ssaShortCut`.
This commit is contained in:
Rasmus Wriedt Larsen
2020-02-04 14:04:25 +01:00
committed by GitHub

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]