Rename RedundantAssignEliminator to UnusedAssignEliminator.

This commit is contained in:
chriseth
2021-11-23 10:38:36 +01:00
parent defc74c8a2
commit bd321b9f1f
38 changed files with 52 additions and 52 deletions
@@ -0,0 +1,24 @@
{
let r
r := 1
function f(x, y) -> a, b {
// Can be removed, is param
x := 1
y := 2
// Cannot be removed, is return param
a := 3
b := 4
}
r := 2
}
// ----
// step: redundantAssignEliminator
//
// {
// let r
// function f(x, y) -> a, b
// {
// a := 3
// b := 4
// }
// }