Missed a change last time - also made all_types in function_value_lower a hash_set for a ~20 sec speedup

This commit is contained in:
Nathan Braswell
2017-10-23 09:50:18 -04:00
parent 13f1e9df89
commit 48b21c54ae
4 changed files with 26 additions and 9 deletions

View File

@@ -34,7 +34,7 @@ fun function_value_lower(name_ast_map: *map<string, pair<*tree<symbol>,*ast_node
name_ast_map->for_each(fun(name: string, syntax_ast_pair: pair<*tree<symbol>,*ast_node>) {
lambdas.add(syntax_ast_pair.second->translation_unit.lambdas)
})
var all_types = set<*type>()
var all_types = hash_set<*type>()
var function_value_creation_points = vector<function_parent_block>()
var function_value_call_points = vector<function_parent_block>()
var closed_over_uses = vector<pair<*ast_node, pair<*ast_node, *ast_node>>>()