aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_proc.cpp
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2024-07-16 22:11:54 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2024-07-16 22:11:54 +0200
commit47f14dd9ea2a9ce0df263f8a3fe2e6ccf5b53751 (patch)
tree49795faa7c92a16760117ec98dd54026ea82f2ab /src/llvm_backend_proc.cpp
parent853487e86cd1bede0c5179ed1ba796aad2200f39 (diff)
type is never a tuple here
Diffstat (limited to 'src/llvm_backend_proc.cpp')
-rw-r--r--src/llvm_backend_proc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/llvm_backend_proc.cpp b/src/llvm_backend_proc.cpp
index e26b2e50f..2f736ff6c 100644
--- a/src/llvm_backend_proc.cpp
+++ b/src/llvm_backend_proc.cpp
@@ -2290,9 +2290,6 @@ gb_internal lbValue lb_build_builtin_proc(lbProcedure *p, Ast *expr, TypeAndValu
{
Type *main_type = tv.type;
Type *type = main_type;
- if (is_type_tuple(main_type)) {
- type = main_type->Tuple.variables[0]->type;
- }
lbValue x = lb_build_expr(p, ce->args[0]);
lbValue y = lb_build_expr(p, ce->args[1]);