about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/allocator.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/allocator.rs b/src/allocator.rs
index f4ebd42ee2d..279b7dd2fb9 100644
--- a/src/allocator.rs
+++ b/src/allocator.rs
@@ -152,6 +152,7 @@ fn create_wrapper_function(
     if output.is_some() {
         block.end_with_return(None, ret);
     } else {
+        block.add_eval(None, ret);
         block.end_with_void_return(None);
     }