diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-02 12:32:18 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-02 12:32:18 +0100 |
| commit | 620bf162a048fdf29fdfcedc12abae79cffeedf4 (patch) | |
| tree | 0cac112f7f7d2c0983280b4acb0e9e1688dafa70 /src/llvm_backend.hpp | |
| parent | bb4bc316a4bd86774953f1e8fcefffb5ed8bbf37 (diff) | |
Cache const `string16` in LLVM
Diffstat (limited to 'src/llvm_backend.hpp')
| -rw-r--r-- | src/llvm_backend.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/llvm_backend.hpp b/src/llvm_backend.hpp index fef6e754d..648e8a732 100644 --- a/src/llvm_backend.hpp +++ b/src/llvm_backend.hpp @@ -173,7 +173,8 @@ struct lbModule { PtrMap<LLVMValueRef, Entity *> procedure_values; Array<lbProcedure *> missing_procedures_to_check; - StringMap<LLVMValueRef> const_strings; + StringMap<LLVMValueRef> const_strings; + String16Map<LLVMValueRef> const_string16s; PtrMap<u64/*type hash*/, struct lbFunctionType *> function_type_map; |