Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d1e4e0

Browse files
author
alexet
committed
Python: Add no-inline to force correct join-order.
1 parent bc7e6af commit 4d1e4e0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python/ql/src/semmle/python/Flow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,7 @@ class BasicBlock extends @py_flow_node {
956956

957957
/** Dominance frontier of a node x is the set of all nodes `other` such that `this` dominates a predecessor
958958
* of `other` but does not strictly dominate `other` */
959+
pragma[noinline]
959960
predicate dominanceFrontier(BasicBlock other) {
960961
this.dominates(other.getAPredecessor()) and not this.strictlyDominates(other)
961962
}

0 commit comments

Comments
 (0)