mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
BasicBlock: Replace entryBlock predicate with subclass.
This commit is contained in:
@@ -628,7 +628,7 @@ module Flow<
|
||||
/** Holds if `cc` needs a definition at the entry of its callable scope. */
|
||||
private predicate entryDef(CaptureContainer cc, BasicBlock bb, int i) {
|
||||
exists(Callable c |
|
||||
Cfg::entryBlock(bb) and
|
||||
bb instanceof Cfg::EntryBasicBlock and
|
||||
pragma[only_bind_out](bb.getEnclosingCallable()) = c and
|
||||
i =
|
||||
min(int j |
|
||||
|
||||
Reference in New Issue
Block a user