Skip to content

Commit a09285b

Browse files
committed
Python: fix compilation of test
1 parent d723cb4 commit a09285b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • python/ql/test/library-tests/dataflow-new-ssa

python/ql/test/library-tests/dataflow-new-ssa/SsaTest.ql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module SsaTest implements TestSig {
2424
predicate hasActualResult(Location location, string element, string tag, string value) {
2525
// A `def=<id>` fires when an SSA WriteDefinition is at a CFG node
2626
// on the given line.
27-
exists(SsaImpl::Ssa::WriteDefinition def, CfgImpl::BasicBlock bb, int i, Cfg::NameNode n |
27+
exists(SsaImpl::WriteDefinition def, CfgImpl::BasicBlock bb, int i, Cfg::NameNode n |
2828
def.definesAt(_, bb, i) and
2929
bb.getNode(i) = n and
3030
tag = "def" and
@@ -35,8 +35,8 @@ module SsaTest implements TestSig {
3535
or
3636
// A `use=<id>` fires when an SSA Definition reaches a read at this
3737
// CFG node.
38-
exists(SsaImpl::Ssa::Definition def, CfgImpl::BasicBlock bb, int i, Cfg::NameNode n |
39-
SsaImpl::Ssa::ssaDefReachesRead(_, def, bb, i) and
38+
exists(SsaImpl::Definition def, CfgImpl::BasicBlock bb, int i, Cfg::NameNode n |
39+
SsaImpl::Impl::ssaDefReachesRead(_, def, bb, i) and
4040
bb.getNode(i) = n and
4141
tag = "use" and
4242
location = n.getLocation() and
@@ -46,7 +46,7 @@ module SsaTest implements TestSig {
4646
or
4747
// A `phi=<id>` fires when there is a phi node whose BB's first
4848
// CFG node is on the given line.
49-
exists(SsaImpl::Ssa::PhiNode phi, CfgImpl::BasicBlock bb |
49+
exists(SsaImpl::PhiNode phi, CfgImpl::BasicBlock bb |
5050
phi.definesAt(_, bb, _) and
5151
tag = "phi" and
5252
location = bb.getNode(0).getLocation() and

0 commit comments

Comments
 (0)