Commit 94a9765a authored by Rico Tzschichholz's avatar Rico Tzschichholz

analyzer: Clean up collections for check_variables() after finished

parent 44a2acfa
......@@ -90,6 +90,7 @@ public class Vala.FlowAnalyzer : CodeVisitor {
private bool unreachable_reported;
private List<JumpTarget> jump_stack = new ArrayList<JumpTarget> ();
// check_variables
Map<Symbol, List<Variable>> var_map;
Set<Variable> used_vars;
Map<Variable, PhiFunction> phi_functions;
......@@ -431,6 +432,10 @@ public class Vala.FlowAnalyzer : CodeVisitor {
}
}
}
phi_functions = null;
used_vars = null;
var_map = null;
}
void check_block_variables (BasicBlock block) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment