Skip to content

Commit 77ffb87

Browse files
committed
---
yaml --- r: 5378 b: refs/heads/master c: 1eaddb7 h: refs/heads/master v: v3
1 parent 488953d commit 77ffb87

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-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: 8c85745452d4667dcdb691b55a575d3cf513a2ac
2+
refs/heads/master: 1eaddb772eb52722e705be6f414de2e398ba4b82

trunk/src/comp/middle/trans.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4470,7 +4470,9 @@ fn trans_put(in_cx: @block_ctxt, e: option::t<@ast::expr>) -> result {
44704470
let dummy_retslot = alloca(bcx, T_nil());
44714471
let llargs: [ValueRef] = [dummy_retslot, cx.fcx.lltaskptr, llenv];
44724472
alt e {
4473-
none. { }
4473+
none. {
4474+
llargs += [C_null(T_ptr(T_nil()))];
4475+
}
44744476
some(x) {
44754477
let e_ty = ty::expr_ty(bcx_tcx(cx), x);
44764478
let arg = {mode: ast::by_ref, ty: e_ty};

0 commit comments

Comments
 (0)