Localize GenProcsData to the entity itself

This commit is contained in:
gingerBill
2023-01-04 15:35:24 +00:00
parent faa735d0c7
commit 12e42d92d3
5 changed files with 22 additions and 24 deletions
-2
View File
@@ -368,9 +368,7 @@ struct CheckerInfo {
RecursiveMutex lazy_mutex; // Mutex required for lazy type checking of specific files
BlockingMutex gen_procs_mutex;
RwMutex gen_types_mutex;
PtrMap<Ast *, GenProcsData *> gen_procs; // Key: Ast * | Identifier -> Entity
PtrMap<Type *, GenTypesData > gen_types;
BlockingMutex type_info_mutex; // NOT recursive