Skip to content

Commit 20af2d5

Browse files
committed
Dataflow: Fix poor join-order
1 parent 3ffc616 commit 20af2d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shared/dataflow/codeql/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4392,6 +4392,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
43924392
Typ getTyp(DataFlowType t) { result = t }
43934393

43944394
bindingset[c, tail]
4395+
pragma[inline_late]
43954396
Ap apCons(Content c, Ap tail) { result.isCons(c, tail) }
43964397

43974398
class ApHeadContent = Content;
@@ -4461,6 +4462,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
44614462
abstract Content getHead();
44624463

44634464
/** Holds if this is a representation of `head` followed by `tail`. */
4465+
pragma[nomagic]
44644466
abstract predicate isCons(Content head, AccessPath tail);
44654467

44664468
/** Gets the front of this access path. */

0 commit comments

Comments
 (0)