Localize checker data

This commit is contained in:
gingerBill
2017-12-12 20:23:36 +00:00
parent f7e9649be4
commit 054e241033
7 changed files with 95 additions and 112 deletions
+1 -1
View File
@@ -845,7 +845,7 @@ void check_type_switch_stmt(Checker *c, AstNode *node, u32 mod_flags) {
}
Map<bool> seen = {}; // Multimap
Map<bool> seen = {}; // Multimap, Key: Type *
map_init(&seen, heap_allocator());
for_array(i, bs->stmts) {