Skip to content

Commit 81a7309

Browse files
committed
fix(llvm_backend): improve readability of basic value handling in build_call
1 parent 4de7d40 commit 81a7309

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/compiler/src/llvm_backend.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,8 @@ impl<'ctx> LLVMBackend<'ctx> {
25412541
self.builder.build_call(box_fn, &[arg_val.into()], "box")
25422542
{
25432543
call_site
2544-
.try_as_basic_value().basic()
2544+
.try_as_basic_value()
2545+
.basic()
25452546
.unwrap_or(arg_val)
25462547
.into()
25472548
} else {

0 commit comments

Comments
 (0)