diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-12-27 11:53:01 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-12-27 11:53:01 +0000 |
| commit | de761cbdd39ed4ba036fc42c4b572abdd9da88d3 (patch) | |
| tree | 48bce895d171264ef15128d49f417b7c7fee9880 /src/llvm_backend_proc.cpp | |
| parent | 40eab9991efbd090d2b473f5f121859c544f5d6b (diff) | |
Remove temporary tuple fix alloca instructions if they are never used
Diffstat (limited to 'src/llvm_backend_proc.cpp')
| -rw-r--r-- | src/llvm_backend_proc.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/llvm_backend_proc.cpp b/src/llvm_backend_proc.cpp index 27167aefd..216d600da 100644 --- a/src/llvm_backend_proc.cpp +++ b/src/llvm_backend_proc.cpp @@ -1212,15 +1212,6 @@ gb_internal lbValue lb_emit_call(lbProcedure *p, lbValue value, Array<lbValue> c } tuple_fix_values[ret_count-1] = result; - #if 0 - for (isize j = 0; j < ret_count; j++) { - tuple_geps[j] = lb_emit_struct_ep(p, result_ptr, cast(i32)j); - } - for (isize j = 0; j < ret_count; j++) { - lb_emit_store(p, tuple_geps[j], tuple_fix_values[j]); - } - #endif - result = lb_emit_load(p, result_ptr); lbTupleFix tf = {tuple_fix_values}; |