Skip to content

Commit 76d0843

Browse files
committed
---
yaml --- r: 2668 b: refs/heads/master c: 67b8501 h: refs/heads/master v: v3
1 parent d6c6969 commit 76d0843

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-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: 381ba1d0babaee0def296cdd337dc911322234af
2+
refs/heads/master: 67b8501eb88d5d5e4b3c839e9e1a78b4f3fbedfc

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3053,7 +3053,7 @@ fn call_cmp_glue(&@block_ctxt cx,
30533053
}
30543054

30553055
fn take_ty(&@block_ctxt cx, ValueRef v, ty::t t) -> result {
3056-
if (!ty::type_is_scalar(cx.fcx.lcx.ccx.tcx, t)) {
3056+
if (ty::type_has_pointers(cx.fcx.lcx.ccx.tcx, t)) {
30573057
ret call_tydesc_glue(cx, v, t, false, abi::tydesc_field_take_glue);
30583058
}
30593059
ret res(cx, C_nil());

0 commit comments

Comments
 (0)