mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
Improve global array index to be on a per module basis
This commit is contained in:
@@ -169,6 +169,8 @@ struct lbModule {
|
||||
|
||||
RwMutex values_mutex;
|
||||
|
||||
std::atomic<u32> global_array_index;
|
||||
|
||||
PtrMap<Entity *, lbValue> values;
|
||||
PtrMap<Entity *, lbAddr> soa_values;
|
||||
StringMap<lbValue> members;
|
||||
@@ -226,8 +228,6 @@ struct lbGenerator : LinkerData {
|
||||
RecursiveMutex anonymous_proc_lits_mutex;
|
||||
PtrMap<Ast *, lbProcedure *> anonymous_proc_lits;
|
||||
|
||||
std::atomic<u32> global_array_index;
|
||||
|
||||
isize used_module_count;
|
||||
|
||||
lbProcedure *startup_runtime;
|
||||
|
||||
Reference in New Issue
Block a user