Skip to content

Commit 39bba7f

Browse files
committed
SSA: Change a few DefinitionExt uses that are actually just Definitions.
1 parent 42eef9e commit 39bba7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shared/ssa/codeql/ssa/Ssa.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1794,7 +1794,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
17941794
// Flow from parameter into entry definition
17951795
DfInput::ssaDefInitializesParam(def, nodeFrom.(ParameterNode).getParameter())
17961796
) and
1797-
nodeTo.(SsaDefinitionExtNodeImpl).getDefExt() = def and
1797+
nodeTo.(SsaDefinitionNode).getDefinition() = def and
17981798
isUseStep = false
17991799
or
18001800
// Flow from definition/read to next read
@@ -1810,7 +1810,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
18101810
AdjacentSsaRefs::adjacentRefRead(bb1, i1, bb2, i2, v) and
18111811
exists(UncertainWriteDefinition def2 |
18121812
DfInput::allowFlowIntoUncertainDef(def2) and
1813-
nodeTo.(SsaDefinitionExtNodeImpl).getDefExt() = def2 and
1813+
nodeTo.(SsaDefinitionNode).getDefinition() = def2 and
18141814
def2.definesAt(v, bb2, i2)
18151815
)
18161816
)
@@ -1841,7 +1841,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
18411841
// Flow from parameter into entry definition
18421842
DfInput::ssaDefInitializesParam(def, nodeFrom.(ParameterNode).getParameter())
18431843
) and
1844-
nodeTo.(SsaDefinitionExtNodeImpl).getDefExt() = def
1844+
nodeTo.(SsaDefinitionNode).getDefinition() = def
18451845
or
18461846
// Flow from SSA definition to read
18471847
nodeFrom.(SsaDefinitionExtNodeImpl).getDefExt() = def and

0 commit comments

Comments
 (0)