Skip to content

Commit 0f33b3e

Browse files
committed
---
yaml --- r: 172774 b: refs/heads/try c: 6f1b06e h: refs/heads/master v: v3
1 parent 79cbc8c commit 0f33b3e

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 170c4399e614fe599c3d41306b3429ca8b3b68c6
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 5b3cd3900ceda838f5798c30ab96ceb41f962534
5-
refs/heads/try: 6ef08406dccdeeb828a6cfc7658ac149900e73ad
5+
refs/heads/try: 6f1b06eb6546ab4808614dfe7807277419b485aa
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/librustc_trans/trans/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ pub fn type_is_immediate<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>, ty: Ty<'tcx>) -
244244
return false;
245245
}
246246
match ty.sty {
247-
ty::ty_struct(..) | ty::ty_enum(..) | ty::ty_tup(..) |
247+
ty::ty_struct(..) | ty::ty_enum(..) | ty::ty_tup(..) | ty::ty_vec(_, Some(_)) |
248248
ty::ty_unboxed_closure(..) => {
249249
let llty = sizing_type_of(ccx, ty);
250250
llsize_of_alloc(ccx, llty) <= llsize_of_alloc(ccx, ccx.int_type())

0 commit comments

Comments
 (0)