Dataflow: Sync.

This commit is contained in:
Anders Schack-Mulligen
2020-11-13 15:12:16 +01:00
parent d324cd1844
commit e0a6a485df
26 changed files with 39000 additions and 29504 deletions

View File

@@ -802,14 +802,12 @@ abstract class AccessPathFront extends TAccessPathFront {
abstract boolean toBoolNonEmpty();
TypedContent getHead() { this = TFrontHead(result) }
// TODO: delete
predicate headUsesContent(TypedContent tc) { this = TFrontHead(tc) }
predicate isClearedAt(Node n) {
exists(TypedContent tc |
this.headUsesContent(tc) and
clearsContent(n, tc.getContent())
)
}
predicate isClearedAt(Node n) { clearsContent(n, getHead().getContent()) }
}
class AccessPathFrontNil extends AccessPathFront, TFrontNil {