Skip to content

Commit 4098ac2

Browse files
committed
---
yaml --- r: 5379 b: refs/heads/master c: e33f116 h: refs/heads/master i: 5377: 488953d 5375: 83e78ff v: v3
1 parent 77ffb87 commit 4098ac2

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
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: 1eaddb772eb52722e705be6f414de2e398ba4b82
2+
refs/heads/master: e33f116598a86cf0f7eb0e13f2828b525d5c1d04

trunk/src/comp/middle/trans.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,22 +1229,22 @@ fn emit_tydescs(ccx: @crate_ctxt) {
12291229
let cmp_fn_ty = T_ptr(T_cmp_glue_fn(*ccx));
12301230
let ti = pair.val;
12311231
let take_glue =
1232-
alt copy ti.take_glue {
1232+
alt ti.take_glue {
12331233
none. { ccx.stats.n_null_glues += 1u; C_null(glue_fn_ty) }
12341234
some(v) { ccx.stats.n_real_glues += 1u; v }
12351235
};
12361236
let drop_glue =
1237-
alt copy ti.drop_glue {
1237+
alt ti.drop_glue {
12381238
none. { ccx.stats.n_null_glues += 1u; C_null(glue_fn_ty) }
12391239
some(v) { ccx.stats.n_real_glues += 1u; v }
12401240
};
12411241
let free_glue =
1242-
alt copy ti.free_glue {
1242+
alt ti.free_glue {
12431243
none. { ccx.stats.n_null_glues += 1u; C_null(glue_fn_ty) }
12441244
some(v) { ccx.stats.n_real_glues += 1u; v }
12451245
};
12461246
let cmp_glue =
1247-
alt copy ti.cmp_glue {
1247+
alt ti.cmp_glue {
12481248
none. { ccx.stats.n_null_glues += 1u; C_null(cmp_fn_ty) }
12491249
some(v) { ccx.stats.n_real_glues += 1u; v }
12501250
};
@@ -1745,7 +1745,7 @@ fn lazily_emit_tydesc_glue(cx: @block_ctxt, field: int,
17451745
none. { }
17461746
some(ti) {
17471747
if field == abi::tydesc_field_take_glue {
1748-
alt copy ti.take_glue {
1748+
alt ti.take_glue {
17491749
some(_) { }
17501750
none. {
17511751
log #fmt["+++ lazily_emit_tydesc_glue TAKE %s",
@@ -1763,7 +1763,7 @@ fn lazily_emit_tydesc_glue(cx: @block_ctxt, field: int,
17631763
}
17641764
}
17651765
} else if field == abi::tydesc_field_drop_glue {
1766-
alt copy ti.drop_glue {
1766+
alt ti.drop_glue {
17671767
some(_) { }
17681768
none. {
17691769
log #fmt["+++ lazily_emit_tydesc_glue DROP %s",
@@ -1781,7 +1781,7 @@ fn lazily_emit_tydesc_glue(cx: @block_ctxt, field: int,
17811781
}
17821782
}
17831783
} else if field == abi::tydesc_field_free_glue {
1784-
alt copy ti.free_glue {
1784+
alt ti.free_glue {
17851785
some(_) { }
17861786
none. {
17871787
log #fmt["+++ lazily_emit_tydesc_glue FREE %s",
@@ -1799,7 +1799,7 @@ fn lazily_emit_tydesc_glue(cx: @block_ctxt, field: int,
17991799
}
18001800
}
18011801
} else if field == abi::tydesc_field_cmp_glue {
1802-
alt copy ti.cmp_glue {
1802+
alt ti.cmp_glue {
18031803
some(_) { }
18041804
none. {
18051805
log #fmt["+++ lazily_emit_tydesc_glue CMP %s",
@@ -4456,7 +4456,7 @@ fn trans_put(in_cx: @block_ctxt, e: option::t<@ast::expr>) -> result {
44564456
Br(in_cx, cx.llbb);
44574457
let llcallee = C_nil();
44584458
let llenv = C_nil();
4459-
alt copy cx.fcx.lliterbody {
4459+
alt cx.fcx.lliterbody {
44604460
some(lli) {
44614461
let slot = alloca(cx, val_ty(lli));
44624462
Store(cx, lli, slot);
@@ -4531,7 +4531,7 @@ fn trans_break_cont(sp: span, cx: @block_ctxt, to_end: bool) -> result {
45314531
C_nil());
45324532
}
45334533
_ {
4534-
alt copy cleanup_cx.parent {
4534+
alt cleanup_cx.parent {
45354535
parent_some(cx) { cleanup_cx = cx; }
45364536
parent_none. {
45374537
bcx_ccx(cx).sess.span_fatal(sp,
@@ -4595,7 +4595,7 @@ fn trans_ret(cx: @block_ctxt, e: option::t<@ast::expr>) -> result {
45954595
let cleanup_cx = cx;
45964596
while more_cleanups {
45974597
bcx = trans_block_cleanups(bcx, cleanup_cx);
4598-
alt copy cleanup_cx.parent {
4598+
alt cleanup_cx.parent {
45994599
parent_some(b) { cleanup_cx = b; }
46004600
parent_none. { more_cleanups = false; }
46014601
}
@@ -5230,7 +5230,7 @@ fn trans_closure(bcx_maybe: option::t<@block_ctxt>,
52305230
create_llargs_for_fn_args(fcx, f.proto, ty_self,
52315231
ty::ret_ty_of_fn(cx.ccx.tcx, id), f.decl.inputs,
52325232
ty_params);
5233-
alt copy fcx.llself {
5233+
alt fcx.llself {
52345234
some(llself) { populate_fn_ctxt_from_llself(fcx, llself); }
52355235
_ { }
52365236
}

0 commit comments

Comments
 (0)