Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -11,10 +11,11 @@

public class LiveVariablesProblem extends DataFlowProblem<LiveVariablesProblem, LiveVariableNode> {
public static final String NAME = "Live Variables Analysis";
private static final Set<LocalVariable> EMPTY_SET = new HashSet<LocalVariable>();

public LiveVariablesProblem(IRScope scope) {
super(DataFlowProblem.DF_Direction.BACKWARD);
alwaysLiveVars = new ArrayList<LocalVariable>();
varsLiveOnScopeExit = new ArrayList<LocalVariable>(alwaysLiveVars);
setup(scope);
}

0 comments on commit 8a18dd1

Please sign in to comment.