mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Simplify compiler's Map and create a StringMap specifically for strings
This commit is contained in:
@@ -62,11 +62,11 @@ struct lbModule {
|
||||
Map<LLVMTypeRef> types; // Key: Type *
|
||||
|
||||
Map<lbValue> values; // Key: Entity *
|
||||
Map<lbValue> members; // Key: String
|
||||
Map<lbProcedure *> procedures; // Key: String
|
||||
StringMap<lbValue> members;
|
||||
StringMap<lbProcedure *> procedures;
|
||||
Map<Entity *> procedure_values; // Key: LLVMValueRef
|
||||
|
||||
Map<LLVMValueRef> const_strings; // Key: String
|
||||
StringMap<LLVMValueRef> const_strings;
|
||||
|
||||
Map<lbProcedure *> anonymous_proc_lits; // Key: Ast *
|
||||
|
||||
|
||||
Reference in New Issue
Block a user