@@ -6340,7 +6340,7 @@ fn trans_anon_obj(@block_ctxt bcx, &span sp, &ast::anon_obj anon_obj,
6340
6340
let ty:: t typarams_ty = ty:: mk_imm_tup( ccx. tcx, ~[ ] ) ;
6341
6341
6342
6342
// Tuple type for body:
6343
- // [tydesc_ty , [typaram, ...], [field, ...], with_obj]
6343
+ // [tydesc , [typaram, ...], [field, ...], with_obj]
6344
6344
let ty:: t body_ty =
6345
6345
ty:: mk_imm_tup( ccx. tcx, ~[ tydesc_ty, typarams_ty,
6346
6346
fields_ty, with_obj_ty] ) ;
@@ -6352,7 +6352,7 @@ fn trans_anon_obj(@block_ctxt bcx, &span sp, &ast::anon_obj anon_obj,
6352
6352
6353
6353
// mk_imm_box throws a refcount into the type we're synthesizing,
6354
6354
// so that it looks like:
6355
- // [rc, [tydesc_ty , [typaram, ...], [field, ...], with_obj]]
6355
+ // [rc, [tydesc , [typaram, ...], [field, ...], with_obj]]
6356
6356
let ty:: t boxed_body_ty = ty:: mk_imm_box( ccx. tcx, body_ty) ;
6357
6357
6358
6358
// Grab onto the refcount and body parts of the box we allocated.
@@ -6374,7 +6374,6 @@ fn trans_anon_obj(@block_ctxt bcx, &span sp, &ast::anon_obj anon_obj,
6374
6374
// the user of the object. So the tydesc is needed to keep track of
6375
6375
// the types of the object's fields, so that the fields can be freed
6376
6376
// later.
6377
-
6378
6377
auto body_tydesc =
6379
6378
GEP_tup_like ( bcx, body_ty, body. val,
6380
6379
~[ 0 , abi:: obj_body_elt_tydesc] ) ;
@@ -7153,7 +7152,7 @@ fn process_fwding_mthd(@local_ctxt cx, &span sp, @ty::method m,
7153
7152
let ty:: t typarams_ty = ty:: mk_imm_tup( cx. ccx. tcx, ~[ ] ) ;
7154
7153
7155
7154
// Tuple type for body:
7156
- // [tydesc_ty , [typaram, ...], [field, ...], with_obj]
7155
+ // [tydesc , [typaram, ...], [field, ...], with_obj]
7157
7156
let ty:: t body_ty =
7158
7157
ty:: mk_imm_tup( cx. ccx. tcx, ~[ tydesc_ty, typarams_ty,
7159
7158
fields_ty, with_obj_ty] ) ;
0 commit comments