Skip to content

Commit 8648405

Browse files
GCC backend: Remove add_eval if no function is created
1 parent c48d8d4 commit 8648405

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_codegen_gcc/src/allocator.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ fn create_wrapper_function(
158158
}
159159
} else {
160160
assert!(output.is_none());
161-
block.add_eval(None, ret);
162161
block.end_with_void_return(None);
163162
}
164163

0 commit comments

Comments
 (0)