aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-02-20 08:47:48 +0000
committerGitHub <noreply@github.com>2025-02-20 08:47:48 +0000
commit82ddf358d0a319ba0eefd838bb80cf526daf9dcb (patch)
tree0d432e0952d0c207f186407bd06a610e7e74e6dc /src/llvm_backend_stmt.cpp
parentf0b1357132de38e9dad0964ebe4c21db1ed4f430 (diff)
parent29456bcdea6e9567a9655e49a948f9e57920ff7a (diff)
Merge pull request #4855 from odin-lang/bill/canonical-type-hashing
Deterministic Canonical Naming for Link Names and Types
Diffstat (limited to 'src/llvm_backend_stmt.cpp')
-rw-r--r--src/llvm_backend_stmt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/llvm_backend_stmt.cpp b/src/llvm_backend_stmt.cpp
index b05df0b46..b83472075 100644
--- a/src/llvm_backend_stmt.cpp
+++ b/src/llvm_backend_stmt.cpp
@@ -32,7 +32,8 @@ gb_internal void lb_build_constant_value_decl(lbProcedure *p, AstValueDecl *vd)
continue;
}
- lb_set_nested_type_name_ir_mangled_name(e, p, p->module);
+ String name = lb_get_entity_name(p->module, e);
+ gb_unused(name);
}
for_array(i, vd->names) {