codeql
codeql copied to clipboard
Shared: cache getBasicBlock() as it is needed from BarrierGuards
trafficstars
BarrierGuards<> is instantiated on a per-query basis, so it shouldn't reference uncached predicates that could cause a cascade of re-evaluations. This is already enforced in most placces but it seems the call to getBasicBlock() slipped through the cracks.