Skip to content

Commit a4fee2e

Browse files
committed
SSA: Minor perf tweak to reduce tuple duplication.
1 parent 7e441d9 commit a4fee2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/ssa/codeql/ssa/Ssa.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
480480
ssaDefReachesReadWithinBlock(v, def, bb, i)
481481
or
482482
ssaRef(bb, i, v, SsaActualRead()) and
483-
ssaDefReachesEndOfBlock(getABasicBlockPredecessor(bb), def, v) and
483+
ssaDefReachesEndOfBlock(getImmediateBasicBlockDominator(bb), def, v) and
484484
not ssaDefReachesReadWithinBlock(v, _, bb, i)
485485
}
486486
}

0 commit comments

Comments
 (0)