SSA: Remove empty predicates and dead code.

This commit is contained in:
Anders Schack-Mulligen
2025-03-27 16:03:00 +01:00
parent 308d15401f
commit 5a986f5327
7 changed files with 3 additions and 114 deletions

View File

@@ -61,18 +61,6 @@ module SsaDataflowInput implements DataFlowIntegrationInputSig {
none()
}
predicate ssaDefAssigns(WriteDefinition def, Expr value) {
// This library only handles use-use flow after a post-update, there are no definitions, only uses.
none()
}
class Parameter = js::Parameter;
predicate ssaDefInitializesParam(WriteDefinition def, Parameter p) {
// This library only handles use-use flow after a post-update, there are no definitions, only uses.
none()
}
cached
Expr getARead(Definition def) {
// Copied from implementation so we can cache it here