Skip to content

Commit 9998059

Browse files
committed
add pragma to fix performance (same issue as in #2512)
1 parent a76ab39 commit 9998059

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

javascript/ql/src/semmle/javascript/dataflow/Configuration.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ abstract class BarrierGuardNode extends DataFlow::Node {
318318
*
319319
* INTERNAL: this predicate should only be used from within `blocks(boolean, Expr)`.
320320
*/
321+
pragma[noinline,nomagic]
321322
predicate internalBlocks(DataFlow::Node nd, string label) {
322323
// 1) `nd` is a use of a refinement node that blocks its input variable
323324
exists(SsaRefinementNode ref, boolean outcome |

0 commit comments

Comments
 (0)