about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-06-18 15:31:01 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-06-18 15:31:01 +0200
commit6bbf8b1098d0b98f33227d259fc975bf9f19132b (patch)
treec4c711c5c2d970b8309b0389c62d21aac921da03
parentefb79975f61712b619389999aa89c56f150371f1 (diff)
downloadrust-6bbf8b1098d0b98f33227d259fc975bf9f19132b.tar.gz
rust-6bbf8b1098d0b98f33227d259fc975bf9f19132b.zip
GCC backend: Remove `add_eval` if no function is created
-rw-r--r--src/allocator.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/allocator.rs b/src/allocator.rs
index 9e54ba05a9b..cf8aa500c77 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);
     }