@@ -1675,7 +1675,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1675
1675
override string toString ( ) { result = def .toString ( ) }
1676
1676
}
1677
1677
1678
- final class SsaDefinitionExtNode = SsaDefinitionExtNodeImpl ;
1678
+ deprecated final class SsaDefinitionExtNode = SsaDefinitionExtNodeImpl ;
1679
1679
1680
1680
/** An SSA definition, viewed as a node in a data flow graph. */
1681
1681
private class SsaDefinitionNodeImpl extends SsaDefinitionExtNodeImpl {
@@ -1753,7 +1753,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1753
1753
override string toString ( ) { result = "[input] " + def_ .toString ( ) }
1754
1754
}
1755
1755
1756
- final class SsaInputNode = SsaInputNodeImpl ;
1756
+ deprecated final class SsaInputNode = SsaInputNodeImpl ;
1757
1757
1758
1758
/**
1759
1759
* Holds if `nodeFrom` corresponds to the reference to `v` at index `i` in
@@ -1765,7 +1765,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1765
1765
private predicate flowOutOf (
1766
1766
DefinitionExt def , Node nodeFrom , SourceVariable v , BasicBlock bb , int i , boolean isUseStep
1767
1767
) {
1768
- nodeFrom .( SsaDefinitionExtNode ) .getDefinitionExt ( ) = def and
1768
+ nodeFrom .( SsaDefinitionExtNodeImpl ) .getDefinitionExt ( ) = def and
1769
1769
def .definesAt ( v , bb , i , _) and
1770
1770
isUseStep = false
1771
1771
or
@@ -1788,7 +1788,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1788
1788
// Flow from parameter into entry definition
1789
1789
DfInput:: ssaDefInitializesParam ( def , nodeFrom .( ParameterNode ) .getParameter ( ) )
1790
1790
) and
1791
- nodeTo .( SsaDefinitionExtNode ) .getDefinitionExt ( ) = def and
1791
+ nodeTo .( SsaDefinitionExtNodeImpl ) .getDefinitionExt ( ) = def and
1792
1792
isUseStep = false
1793
1793
or
1794
1794
// Flow from definition/read to next read
@@ -1804,7 +1804,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1804
1804
AdjacentSsaRefs:: adjacentRefRead ( bb1 , i1 , bb2 , i2 , v ) and
1805
1805
exists ( UncertainWriteDefinition def2 |
1806
1806
DfInput:: allowFlowIntoUncertainDef ( def2 ) and
1807
- nodeTo .( SsaDefinitionExtNode ) .getDefinitionExt ( ) = def2 and
1807
+ nodeTo .( SsaDefinitionExtNodeImpl ) .getDefinitionExt ( ) = def2 and
1808
1808
def2 .definesAt ( v , bb2 , i2 )
1809
1809
)
1810
1810
)
@@ -1821,8 +1821,8 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1821
1821
)
1822
1822
or
1823
1823
// Flow from input node to def
1824
- nodeTo .( SsaDefinitionExtNode ) .getDefinitionExt ( ) = def and
1825
- def = nodeFrom .( SsaInputNode ) .getDefinitionExt ( ) and
1824
+ nodeTo .( SsaDefinitionExtNodeImpl ) .getDefinitionExt ( ) = def and
1825
+ def = nodeFrom .( SsaInputNodeImpl ) .getDefinitionExt ( ) and
1826
1826
isUseStep = false
1827
1827
}
1828
1828
@@ -1835,10 +1835,10 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1835
1835
// Flow from parameter into entry definition
1836
1836
DfInput:: ssaDefInitializesParam ( def , nodeFrom .( ParameterNode ) .getParameter ( ) )
1837
1837
) and
1838
- nodeTo .( SsaDefinitionExtNode ) .getDefinitionExt ( ) = def
1838
+ nodeTo .( SsaDefinitionExtNodeImpl ) .getDefinitionExt ( ) = def
1839
1839
or
1840
1840
// Flow from SSA definition to read
1841
- nodeFrom .( SsaDefinitionExtNode ) .getDefinitionExt ( ) = def and
1841
+ nodeFrom .( SsaDefinitionExtNodeImpl ) .getDefinitionExt ( ) = def and
1842
1842
nodeTo .( ExprNode ) .getExpr ( ) = DfInput:: getARead ( def )
1843
1843
}
1844
1844
@@ -1852,7 +1852,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1852
1852
signature predicate guardChecksSig ( DfInput:: Guard g , DfInput:: Expr e , boolean branch ) ;
1853
1853
1854
1854
pragma [ nomagic]
1855
- private Definition getAPhiInputDef ( SsaInputNode n ) {
1855
+ private Definition getAPhiInputDef ( SsaInputNodeImpl n ) {
1856
1856
exists ( SsaInputDefinitionExt phi , BasicBlock bb |
1857
1857
result = getAPhiInputDef ( phi , bb ) and
1858
1858
n .isInputInto ( phi , bb )
@@ -1927,7 +1927,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1927
1927
// guard controls input block to a phi node
1928
1928
exists ( SsaInputDefinitionExt phi |
1929
1929
def = getAPhiInputDef ( result ) and
1930
- result .( SsaInputNode ) .isInputInto ( phi , bb )
1930
+ result .( SsaInputNodeImpl ) .isInputInto ( phi , bb )
1931
1931
|
1932
1932
DfInput:: guardControlsBlock ( g , bb , branch )
1933
1933
or
0 commit comments