Skip to content

Commit 5d99d43

Browse files
committed
---
yaml --- r: 1519 b: refs/heads/master c: 138c55a h: refs/heads/master i: 1517: 9a0604d 1515: d4b760d 1511: 50caee7 1503: ae98ef0 v: v3
1 parent e143239 commit 5d99d43

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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: 3eb20f3f6e3e1301897a560629cda1ee2c7c2995
2+
refs/heads/master: 138c55a69d44371e4de04ed538c787dec46a7200

trunk/src/comp/middle/trans.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,8 @@ fn trans_vec_add(@block_ctxt cx, @ty.t t,
24842484
auto tmp = r.val;
24852485
find_scope_cx(cx).cleanups += clean(bind drop_ty(_, tmp, t));
24862486
r = copy_ty(r.bcx, INIT, tmp, lhs, t);
2487-
ret trans_vec_append(r.bcx, t, tmp, rhs);
2487+
auto bcx = trans_vec_append(r.bcx, t, tmp, rhs).bcx;
2488+
ret res(bcx, load_scalar_or_boxed(bcx, tmp, t));
24882489
}
24892490

24902491

0 commit comments

Comments
 (0)