@@ -1229,22 +1229,22 @@ fn emit_tydescs(ccx: @crate_ctxt) {
1229
1229
let cmp_fn_ty = T_ptr ( T_cmp_glue_fn ( * ccx) ) ;
1230
1230
let ti = pair. val ;
1231
1231
let take_glue =
1232
- alt copy ti. take_glue {
1232
+ alt ti. take_glue {
1233
1233
none. { ccx . stats . n_null_glues += 1 u; C_null ( glue_fn_ty) }
1234
1234
some ( v) { ccx. stats . n_real_glues += 1 u; v }
1235
1235
} ;
1236
1236
let drop_glue =
1237
- alt copy ti. drop_glue {
1237
+ alt ti. drop_glue {
1238
1238
none. { ccx . stats . n_null_glues += 1 u; C_null ( glue_fn_ty) }
1239
1239
some ( v) { ccx. stats . n_real_glues += 1 u; v }
1240
1240
} ;
1241
1241
let free_glue =
1242
- alt copy ti. free_glue {
1242
+ alt ti. free_glue {
1243
1243
none. { ccx . stats . n_null_glues += 1 u; C_null ( glue_fn_ty) }
1244
1244
some ( v) { ccx. stats . n_real_glues += 1 u; v }
1245
1245
} ;
1246
1246
let cmp_glue =
1247
- alt copy ti. cmp_glue {
1247
+ alt ti. cmp_glue {
1248
1248
none. { ccx . stats . n_null_glues += 1 u; C_null ( cmp_fn_ty) }
1249
1249
some ( v) { ccx. stats . n_real_glues += 1 u; v }
1250
1250
} ;
@@ -1745,7 +1745,7 @@ fn lazily_emit_tydesc_glue(cx: @block_ctxt, field: int,
1745
1745
none. { }
1746
1746
some ( ti) {
1747
1747
if field == abi:: tydesc_field_take_glue {
1748
- alt copy ti. take_glue {
1748
+ alt ti. take_glue {
1749
1749
some ( _) { }
1750
1750
none. {
1751
1751
log #fmt [ "+++ lazily_emit_tydesc_glue TAKE %s" ,
@@ -1763,7 +1763,7 @@ fn lazily_emit_tydesc_glue(cx: @block_ctxt, field: int,
1763
1763
}
1764
1764
}
1765
1765
} else if field == abi:: tydesc_field_drop_glue {
1766
- alt copy ti. drop_glue {
1766
+ alt ti. drop_glue {
1767
1767
some ( _) { }
1768
1768
none. {
1769
1769
log #fmt [ "+++ lazily_emit_tydesc_glue DROP %s" ,
@@ -1781,7 +1781,7 @@ fn lazily_emit_tydesc_glue(cx: @block_ctxt, field: int,
1781
1781
}
1782
1782
}
1783
1783
} else if field == abi:: tydesc_field_free_glue {
1784
- alt copy ti. free_glue {
1784
+ alt ti. free_glue {
1785
1785
some ( _) { }
1786
1786
none. {
1787
1787
log #fmt [ "+++ lazily_emit_tydesc_glue FREE %s" ,
@@ -1799,7 +1799,7 @@ fn lazily_emit_tydesc_glue(cx: @block_ctxt, field: int,
1799
1799
}
1800
1800
}
1801
1801
} else if field == abi:: tydesc_field_cmp_glue {
1802
- alt copy ti. cmp_glue {
1802
+ alt ti. cmp_glue {
1803
1803
some ( _) { }
1804
1804
none. {
1805
1805
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 {
4456
4456
Br ( in_cx, cx. llbb ) ;
4457
4457
let llcallee = C_nil ( ) ;
4458
4458
let llenv = C_nil ( ) ;
4459
- alt copy cx. fcx . lliterbody {
4459
+ alt cx. fcx . lliterbody {
4460
4460
some ( lli) {
4461
4461
let slot = alloca ( cx, val_ty ( lli) ) ;
4462
4462
Store ( cx, lli, slot) ;
@@ -4531,7 +4531,7 @@ fn trans_break_cont(sp: span, cx: @block_ctxt, to_end: bool) -> result {
4531
4531
C_nil ( ) ) ;
4532
4532
}
4533
4533
_ {
4534
- alt copy cleanup_cx. parent {
4534
+ alt cleanup_cx. parent {
4535
4535
parent_some( cx) { cleanup_cx = cx; }
4536
4536
parent_none. {
4537
4537
bcx_ccx ( cx) . sess . span_fatal ( sp,
@@ -4595,7 +4595,7 @@ fn trans_ret(cx: @block_ctxt, e: option::t<@ast::expr>) -> result {
4595
4595
let cleanup_cx = cx;
4596
4596
while more_cleanups {
4597
4597
bcx = trans_block_cleanups ( bcx, cleanup_cx) ;
4598
- alt copy cleanup_cx. parent {
4598
+ alt cleanup_cx. parent {
4599
4599
parent_some ( b) { cleanup_cx = b; }
4600
4600
parent_none. { more_cleanups = false ; }
4601
4601
}
@@ -5230,7 +5230,7 @@ fn trans_closure(bcx_maybe: option::t<@block_ctxt>,
5230
5230
create_llargs_for_fn_args ( fcx, f. proto , ty_self,
5231
5231
ty:: ret_ty_of_fn ( cx. ccx . tcx , id) , f. decl . inputs ,
5232
5232
ty_params) ;
5233
- alt copy fcx. llself {
5233
+ alt fcx. llself {
5234
5234
some ( llself) { populate_fn_ctxt_from_llself ( fcx, llself) ; }
5235
5235
_ { }
5236
5236
}
0 commit comments