Skip to content

Commit 7d62ede

Browse files
committed
---
yaml --- r: 4456 b: refs/heads/master c: a9471d8 h: refs/heads/master v: v3
1 parent cd3f11b commit 7d62ede

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: f918418953b2b295eb22970a1d68293d83081ef5
2+
refs/heads/master: a9471d82961eb18d60509247d827ce495210abbe

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5867,7 +5867,7 @@ fn zero_alloca(cx: &@block_ctxt, llptr: ValueRef, t: ty::t) -> result {
58675867
bcx = call_bzero(llalign.bcx, llptr, llsz.val, llalign.val).bcx;
58685868
} else {
58695869
let llty = type_of(bcx_ccx(bcx), cx.sp, t);
5870-
bcx = call_bzero(cx, llptr, llsize_of(llty), C_uint(1u)).bcx;
5870+
bcx.build.Store(C_null(llty), llptr);
58715871
}
58725872
ret rslt(bcx, llptr);
58735873
}

0 commit comments

Comments
 (0)