Skip to content

Commit

Permalink
rebase backport of rust-lang#38855 onto beta
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Jan 6, 2017
1 parent 6b6036c commit 49f1804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_trans/mir/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl<'bcx, 'tcx> MirContext<'bcx, 'tcx> {
} else {
let op = self.trans_consume(&bcx, &mir::Lvalue::Local(mir::RETURN_POINTER));
if let Ref(llval) = op.val {
base::load_ty(&bcx, llval, op.ty)
bcx.with_block(|bcx| base::load_ty(&bcx, llval, op.ty))
} else {
op.pack_if_pair(&bcx).immediate()
}
Expand Down

0 comments on commit 49f1804

Please sign in to comment.