mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Python: Remove manual TC from ssaShortCut.
This caused a massive slowdown on certain snapshots.
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user