mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
SSA: Inline predicate to simplify negation.
This commit is contained in:
@@ -388,7 +388,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
|
||||
private predicate liveThrough(BasicBlock idom, BasicBlock bb, SourceVariable v) {
|
||||
idom = getImmediateBasicBlockDominator(bb) and
|
||||
liveAtExit(bb, v) and
|
||||
not ssaRef(bb, _, v, Def())
|
||||
not any(Definition def).definesAt(v, bb, _)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user