Skip to content

Commit e0e50a4

Browse files
committed
Fix nit/Refine the datum construction
1 parent 0d2a84c commit e0e50a4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustc_trans/base.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,10 +1683,8 @@ impl<'blk, 'tcx> FunctionContext<'blk, 'tcx> {
16831683
// And coerce the temporary into the type we expect.
16841684
b.pointercast(lltemp, arg.memory_ty(bcx.ccx()).ptr_to())
16851685
};
1686-
1687-
// FIXME: hacky lol?
16881686
datum::Datum::new(lltmp, arg_ty,
1689-
datum::Lvalue::new("datum::lvalue_scratch_datum"))
1687+
datum::Lvalue::new("bind_args"))
16901688
}
16911689
} else {
16921690
// FIXME(pcwalton): Reduce the amount of code bloat this is responsible for.

0 commit comments

Comments
 (0)