aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_general.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-08-07 17:54:25 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-08-07 17:54:25 +0100
commit2e4837bf37ef494fd7ee5cc2b587f4ab32dbe5b2 (patch)
tree079f3184ff65ddb78be1caef0df92c63b10a27b1 /src/llvm_backend_general.cpp
parentb6944b8acb55c090d68d77014017282f0f4df9fb (diff)
parentd612f6ec07887f906174cd33465241c75b5cf10e (diff)
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/llvm_backend_general.cpp')
-rw-r--r--src/llvm_backend_general.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llvm_backend_general.cpp b/src/llvm_backend_general.cpp
index d84b8302b..49a04641c 100644
--- a/src/llvm_backend_general.cpp
+++ b/src/llvm_backend_general.cpp
@@ -2944,6 +2944,7 @@ gb_internal lbValue lb_find_ident(lbProcedure *p, lbModule *m, Entity *e, Ast *e
gb_internal lbValue lb_find_procedure_value_from_entity(lbModule *m, Entity *e) {
lbGenerator *gen = m->gen;
+ GB_ASSERT(e != nullptr);
GB_ASSERT(is_type_proc(e->type));
e = strip_entity_wrapping(e);
GB_ASSERT(e != nullptr);