Skip to content

Commit 4ecb7bc

Browse files
committed
---
yaml --- r: 13541 b: refs/heads/master c: b0e66a6 h: refs/heads/master i: 13539: 0bc3c76 v: v3
1 parent 6679ac0 commit 4ecb7bc

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 982e1166b238f8cd7abe8a7acb91d42cc8e9f5c4
2+
refs/heads/master: b0e66a6f3b4a10f67f0b1df8a78fe3db79db5045
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rustc/middle/trans/base.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,11 +1424,7 @@ fn copy_val_no_check(bcx: block, action: copy_action, dst: ValueRef,
14241424
// FIXME: We always zero out the source. Ideally we would detect the
14251425
// case where a variable is always deinitialized by block exit and thus
14261426
// doesn't need to be dropped. (Issue #839)
1427-
// n.b. + argument mode on cx is a workaround for #2633. Note that cx isn't
1428-
// passed by value by default because currently, a newtype-like enum whose
1429-
// representation is a box isn't considered to be boxed (and thus, not
1430-
// considered immediate).
1431-
fn move_val(+cx: block, action: copy_action, dst: ValueRef,
1427+
fn move_val(cx: block, action: copy_action, dst: ValueRef,
14321428
src: lval_result, t: ty::t) -> block {
14331429
let _icx = cx.insn_ctxt("move_val");
14341430
let mut src_val = src.val;

0 commit comments

Comments
 (0)