aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.hpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-08-02 12:32:18 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-08-02 12:32:18 +0100
commit620bf162a048fdf29fdfcedc12abae79cffeedf4 (patch)
tree0cac112f7f7d2c0983280b4acb0e9e1688dafa70 /src/llvm_backend.hpp
parentbb4bc316a4bd86774953f1e8fcefffb5ed8bbf37 (diff)
Cache const `string16` in LLVM
Diffstat (limited to 'src/llvm_backend.hpp')
-rw-r--r--src/llvm_backend.hpp3
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;