Skip to content

Commit ed8ffab

Browse files
committed
Python: Prevent potentially bad join order
This has no effect on the current compilation (indeed, `ssa_filter_definition_bool` is not currently inlined), but will prevent this from ever occurring, should the heuristics for inlining ever change...
1 parent 119872d commit ed8ffab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,7 @@ module PointsToInternal {
524524
)
525525
}
526526

527+
pragma[noinline]
527528
private boolean ssa_filter_definition_bool(
528529
PyEdgeRefinement def, PointsToContext context, ObjectInternal value, ControlFlowNode origin
529530
) {

0 commit comments

Comments
 (0)