Skip to content

Commit 41fe152

Browse files
nikomatsakisbrson
authored andcommitted
---
yaml --- r: 6113 b: refs/heads/master c: e012fd0 h: refs/heads/master i: 6111: 37cf4a2 v: v3
1 parent d94bdc3 commit 41fe152

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 602ae9139ceb3b757239376104018ab4ffcfc5b1
2+
refs/heads/master: e012fd03f3a4ff383a2e9beae62f93c527e1eed5

trunk/src/comp/middle/trans.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ fn trans_res_drop(cx: @block_ctxt, rs: ValueRef, did: ast::def_id,
14751475
Call(cx, dtor_addr, args + [val_cast]);
14761476

14771477
cx = drop_ty(cx, val.val, inner_t_s);
1478-
Store(cx, C_int(ccx, 0), drop_flag.val);
1478+
Store(cx, C_i32(0i32), drop_flag.val);
14791479
Br(cx, next_cx.llbb);
14801480
ret next_cx;
14811481
}
@@ -5206,7 +5206,7 @@ fn trans_res_ctor(cx: @local_ctxt, sp: span, dtor: ast::_fn,
52065206
check type_is_tup_like(bcx, tup_t);
52075207
let flag = GEP_tup_like(bcx, tup_t, llretptr, [0, 0]);
52085208
bcx = flag.bcx;
5209-
Store(bcx, C_i32(1), flag.val);
5209+
Store(bcx, C_i32(1i32), flag.val);
52105210
build_return(bcx);
52115211
finish_fn(fcx, lltop);
52125212
}

0 commit comments

Comments
 (0)