mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Java: Move SSA entry defs to index -1.
This commit is contained in:
@@ -169,7 +169,7 @@ private module SsaInput implements SsaImplCommon::InputSig<Location, BasicBlock>
|
||||
certain = true
|
||||
or
|
||||
hasEntryDef(v, bb) and
|
||||
i = 0 and
|
||||
i = -1 and
|
||||
certain = true
|
||||
}
|
||||
|
||||
@@ -232,7 +232,7 @@ private module Cached {
|
||||
exists(BaseSsaSourceVariable v, BasicBlock bb, int i |
|
||||
def.definesAt(v, bb, i) and
|
||||
hasEntryDef(v, bb) and
|
||||
i = 0
|
||||
i = -1
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@ private module SsaInput implements SsaImplCommon::InputSig<Location, BasicBlock>
|
||||
certain = true
|
||||
or
|
||||
hasEntryDef(v, bb) and
|
||||
i = 0 and
|
||||
i = -1 and
|
||||
certain = true
|
||||
or
|
||||
uncertainVariableUpdate(v, _, bb, i) and
|
||||
@@ -502,7 +502,7 @@ private module Cached {
|
||||
exists(SsaSourceVariable v, BasicBlock bb, int i |
|
||||
def.definesAt(v, bb, i) and
|
||||
hasEntryDef(v, bb) and
|
||||
i = 0
|
||||
i = -1
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user