Skip to content

Commit

Permalink
add pragma to fix performance (same issue as in github#2512)
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-krogh committed Jan 16, 2020
1 parent a76ab39 commit 9998059
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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 |
Expand Down

0 comments on commit 9998059

Please sign in to comment.