Package com.tonic.analysis.ssa.lift
Class VariableRenamer
- java.lang.Object
-
- com.tonic.analysis.ssa.lift.VariableRenamer
-
public class VariableRenamer extends Object
Renames variables to complete SSA conversion by walking the dominator tree.
-
-
Constructor Summary
Constructors Constructor Description VariableRenamer(DominatorTree dominatorTree)Creates a new variable renamer.
-
-
-
Constructor Detail
-
VariableRenamer
public VariableRenamer(DominatorTree dominatorTree)
Creates a new variable renamer.- Parameters:
dominatorTree- the dominator tree for the method
-
-
Method Detail
-
rename
public void rename(IRMethod method)
Performs SSA variable renaming on a method.- Parameters:
method- the method to rename
-
-