Skip to content

Commit 851d692

Browse files
committed
Python: Remove manual TC from ssaShortCut.
This caused a massive slowdown on certain snapshots.
1 parent 9193a81 commit 851d692

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

python/ql/src/semmle/python/pointsto/PointsTo.qll

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ cached module PointsToInternal {
284284
ssa_definition_points_to(var.getDefinition(), context, value, origin)
285285
or
286286
exists(EssaVariable prev |
287-
ssaShortCut(prev, var) and
287+
ssaShortCut+(prev, var) and
288288
variablePointsTo(prev, context, value, origin)
289289
)
290290
}
@@ -305,10 +305,6 @@ cached module PointsToInternal {
305305
start = def.getInput() and
306306
end.getDefinition() = def
307307
)
308-
or
309-
exists(EssaVariable mid |
310-
ssaShortCut(start, mid) and ssaShortCut(mid, end)
311-
)
312308
}
313309

314310
pragma [noinline]

0 commit comments

Comments
 (0)