aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2024-12-11 12:32:47 +0000
committerGitHub <noreply@github.com>2024-12-11 12:32:47 +0000
commit954adef2d4b991a769fb773cf935c8c467df562d (patch)
treec2dd311db06f9713b62a05274379cce813c6c6cc /src
parent67720e3a9d84d864bfa9918950df4f7db43e4c98 (diff)
parentc8f0d27ceecaaa4d9803ae7fd0fea69ca5aff227 (diff)
Merge pull request #4570 from laytan/remove-viral-inlining
compiler: remove viral `#force(_no)_inline`
Diffstat (limited to 'src')
-rw-r--r--src/llvm_backend_proc.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/llvm_backend_proc.cpp b/src/llvm_backend_proc.cpp
index fee825a2f..712e13592 100644
--- a/src/llvm_backend_proc.cpp
+++ b/src/llvm_backend_proc.cpp
@@ -1136,10 +1136,6 @@ gb_internal lbValue lb_emit_call(lbProcedure *p, lbValue value, Array<lbValue> c
}
}
- if (inlining == ProcInlining_none) {
- inlining = p->inlining;
- }
-
Type *rt = reduce_tuple_to_single_type(results);
Type *original_rt = rt;
if (split_returns) {