Skip to content

Commit 04c1adb

Browse files
committed
---
yaml --- r: 3548 b: refs/heads/master c: 67c9ef9 h: refs/heads/master v: v3
1 parent 5d82f9d commit 04c1adb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: d39c59ae4172b18ea022893a09164dcb6debb1c0
2+
refs/heads/master: 67c9ef9b306e6f45842a474e66d122c96139e02c

trunk/src/comp/middle/trans.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,8 +1945,8 @@ fn make_copy_glue(&@block_ctxt cx, ValueRef v, &ty::t t) {
19451945
if (ty::type_is_boxed(cx.fcx.lcx.ccx.tcx, t)) {
19461946
bcx = incr_refcnt_of_boxed(cx, cx.build.Load(v)).bcx;
19471947
} else if (ty::type_is_structural(cx.fcx.lcx.ccx.tcx, t)) {
1948-
bcx = iter_structural_ty(cx, v, t, bind copy_ty(_, _, _)).bcx;
1949-
bcx = duplicate_heap_parts_if_necessary(bcx, v, t).bcx;
1948+
bcx = duplicate_heap_parts_if_necessary(cx, v, t).bcx;
1949+
bcx = iter_structural_ty(bcx, v, t, bind copy_ty(_, _, _)).bcx;
19501950
} else { bcx = cx; }
19511951
bcx.build.RetVoid();
19521952
}

0 commit comments

Comments
 (0)