Skip to content

Commit f7511b6

Browse files
committed
---
yaml --- r: 3400 b: refs/heads/master c: 07125aa h: refs/heads/master v: v3
1 parent 65b84f6 commit f7511b6

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: e2cb97a2fcf542192ff9776dd6a6e2b3c7bc64b2
2+
refs/heads/master: 07125aa38b0fd14ada84da43c874b798a2767840

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2138,7 +2138,7 @@ fn drop_res(@block_ctxt cx, ValueRef rs, ty::t inner_t, &ast::_fn dtor)
21382138
cx = val.bcx;
21392139
cx.fcx.llargs.insert(dtor.decl.inputs.(0).id, val.val);
21402140
cx = trans_block(cx, dtor.body, return).bcx;
2141-
cx = drop_ty(cx, val.val, inner_t).bcx;
2141+
cx = drop_slot(cx, val.val, inner_t).bcx;
21422142
cx.build.Store(C_int(0), drop_flag.val);
21432143
cx.build.Br(next_cx.llbb);
21442144

0 commit comments

Comments
 (0)