diff options
| author | flysand7 <yyakut.ac@gmail.com> | 2023-10-30 10:32:11 +1100 |
|---|---|---|
| committer | flysand7 <yyakut.ac@gmail.com> | 2023-10-30 10:32:11 +1100 |
| commit | 82263a8b38ac784e89789db0be50d4719041bb75 (patch) | |
| tree | de412fb4df57b1699817afce3fba5d29a5952668 /src/llvm_backend.cpp | |
| parent | a3a3156ddd8a0102bea7d718238a18ae8e1a83b2 (diff) | |
| parent | 1d9f6346d47957d762887cceca37851f84eabeeb (diff) | |
Merge branch 'master' into i386-syscall-asm-fix
Diffstat (limited to 'src/llvm_backend.cpp')
| -rw-r--r-- | src/llvm_backend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp index 8f5d8966d..716c50837 100644 --- a/src/llvm_backend.cpp +++ b/src/llvm_backend.cpp @@ -506,9 +506,9 @@ gb_internal lbValue lb_map_get_proc_for_type(lbModule *m, Type *type) { LLVMSetLinkage(p->value, LLVMInternalLinkage); lb_add_attribute_to_proc(m, p->value, "nounwind"); - // if (build_context.ODIN_DEBUG) { + if (build_context.ODIN_DEBUG) { lb_add_attribute_to_proc(m, p->value, "noinline"); - // } + } LLVMValueRef x = LLVMGetParam(p->value, 0); LLVMValueRef y = LLVMGetParam(p->value, 1); |