mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
Prepare to multithread object generation
This commit is contained in:
@@ -90,8 +90,6 @@ struct lbModule {
|
||||
CheckerInfo *info;
|
||||
AstPackage *pkg; // associated
|
||||
|
||||
gbMutex mutex;
|
||||
|
||||
Map<LLVMTypeRef> types; // Key: Type *
|
||||
Map<Type *> llvm_types; // Key: LLVMTypeRef
|
||||
i32 internal_type_level;
|
||||
@@ -127,6 +125,8 @@ struct lbModule {
|
||||
struct lbGenerator {
|
||||
CheckerInfo *info;
|
||||
|
||||
gbMutex mutex;
|
||||
|
||||
Array<String> output_object_paths;
|
||||
Array<String> output_temp_paths;
|
||||
String output_base;
|
||||
|
||||
Reference in New Issue
Block a user