aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-23 19:24:53 +0100
committergingerBill <bill@gingerbill.org>2021-08-23 19:24:53 +0100
commit382ca20916aaecd6f6b18ea1bd1b849aca2a4f13 (patch)
treeb226505dbbb2f42e47ccc267572554f77a67e6ba /src/llvm_backend.cpp
parentfe2ad54f6074ad2fdd9e8107a4c6ca46b9a4922f (diff)
Correct procedure checking flag handling, and correct the (bodge) handle of unchecked procedure bodies
Diffstat (limited to 'src/llvm_backend.cpp')
-rw-r--r--src/llvm_backend.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp
index 1f897fe4c..d00883bd9 100644
--- a/src/llvm_backend.cpp
+++ b/src/llvm_backend.cpp
@@ -458,6 +458,7 @@ lbValue lb_generate_anonymous_proc_lit(lbModule *m, String const &prefix_name, A
e->file = expr->file;
e->decl_info = pl->decl;
e->code_gen_module = m;
+ e->flags |= EntityFlag_ProcBodyChecked;
lbProcedure *p = lb_create_procedure(m, e);
lbValue value = {};