mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-25 00:47:55 +00:00
Fix a race condition when produced anonymous procedure literals with -use-separate-modules
This commit is contained in:
@@ -199,6 +199,9 @@ struct DeclInfo {
|
||||
BlockingMutex type_and_value_mutex;
|
||||
|
||||
Array<BlockLabel> labels;
|
||||
|
||||
// NOTE(bill): this is to prevent a race condition since these procedure literals can be created anywhere at any time
|
||||
struct lbModule *code_gen_module;
|
||||
};
|
||||
|
||||
// ProcInfo stores the information needed for checking a procedure
|
||||
|
||||
Reference in New Issue
Block a user