diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2016-05-26 03:38:17 +0300 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-05-26 09:49:23 -0700 |
| commit | 219e69dcb2667a46b4d7ff29bb95ded51f603102 (patch) | |
| tree | ec70ac6799163a013dd96735aeb6d258637d9d5f | |
| parent | 11c30fa3aa56e90c62fbb1c7ac9eba2a49d12ff5 (diff) | |
| download | rust-219e69dcb2667a46b4d7ff29bb95ded51f603102.tar.gz rust-219e69dcb2667a46b4d7ff29bb95ded51f603102.zip | |
Fix nit/Refine the datum construction
| -rw-r--r-- | src/librustc_trans/base.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc_trans/base.rs b/src/librustc_trans/base.rs index 10585e5d112..3e1c2fa4283 100644 --- a/src/librustc_trans/base.rs +++ b/src/librustc_trans/base.rs @@ -1683,10 +1683,8 @@ impl<'blk, 'tcx> FunctionContext<'blk, 'tcx> { // And coerce the temporary into the type we expect. b.pointercast(lltemp, arg.memory_ty(bcx.ccx()).ptr_to()) }; - - // FIXME: hacky lol? datum::Datum::new(lltmp, arg_ty, - datum::Lvalue::new("datum::lvalue_scratch_datum")) + datum::Lvalue::new("bind_args")) } } else { // FIXME(pcwalton): Reduce the amount of code bloat this is responsible for. |
