mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
add pragma to fix performance (same issue as in #2512)
This commit is contained in:
@@ -318,6 +318,7 @@ abstract class BarrierGuardNode extends DataFlow::Node {
|
||||
*
|
||||
* INTERNAL: this predicate should only be used from within `blocks(boolean, Expr)`.
|
||||
*/
|
||||
pragma[noinline,nomagic]
|
||||
predicate internalBlocks(DataFlow::Node nd, string label) {
|
||||
// 1) `nd` is a use of a refinement node that blocks its input variable
|
||||
exists(SsaRefinementNode ref, boolean outcome |
|
||||
|
||||
Reference in New Issue
Block a user