Remove nonsensical load and store from trans_uniq::copy_val

Issue #409
This commit is contained in:
Brian Anderson 2011-09-22 17:50:27 -07:00
parent f628003da6
commit 77fcab043e

View File

@ -96,9 +96,8 @@ fn copy_val(cx: @block_ctxt, dst: ValueRef, src: ValueRef,
Store(bcx, llptr, dst);
let src = Load(bcx, src);
let dst = Load(bcx, dst);
let dst = llptr;
let bcx = trans::copy_val(bcx, INIT, dst, src, content_ty);
Store(bcx, src, llptr);
ret bcx;
}