From 6bbf8b1098d0b98f33227d259fc975bf9f19132b Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 18 Jun 2025 15:31:01 +0200 Subject: [PATCH] GCC backend: Remove `add_eval` if no function is created --- src/allocator.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/allocator.rs b/src/allocator.rs index 9e54ba05a9bb..cf8aa500c778 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -158,7 +158,6 @@ fn create_wrapper_function( } } else { assert!(output.is_none()); - block.add_eval(None, ret); block.end_with_void_return(None); }