@@ -486,13 +486,13 @@ pub fn make_drop_glue(bcx: block, v0: ValueRef, t: ty::t) {
486486 ty:: ty_closure( _) => {
487487 closure:: make_closure_glue ( bcx, v0, t, drop_ty)
488488 }
489- ty:: ty_trait( _, _, ty:: BoxTraitStore , _) => {
489+ ty:: ty_trait( _, _, ty:: BoxTraitStore , _, _ ) => {
490490 let llbox_ptr = GEPi ( bcx, v0, [ 0 u, abi:: trt_field_box] ) ;
491491 let llbox = Load ( bcx, llbox_ptr) ;
492492 decr_refcnt_maybe_free ( bcx, llbox, Some ( llbox_ptr) ,
493493 ty:: mk_opaque_box ( ccx. tcx ) )
494494 }
495- ty:: ty_trait( _, _, ty:: UniqTraitStore , _) => {
495+ ty:: ty_trait( _, _, ty:: UniqTraitStore , _, _ ) => {
496496 let lluniquevalue = GEPi ( bcx, v0, [ 0 , abi:: trt_field_box] ) ;
497497 // Only drop the value when it is non-null
498498 do with_cond( bcx, IsNotNull ( bcx, Load ( bcx, lluniquevalue) ) ) |bcx| {
@@ -571,12 +571,12 @@ pub fn make_take_glue(bcx: block, v: ValueRef, t: ty::t) {
571571 ty:: ty_closure( _) => {
572572 closure:: make_closure_glue ( bcx, v, t, take_ty)
573573 }
574- ty:: ty_trait( _, _, ty:: BoxTraitStore , _) => {
574+ ty:: ty_trait( _, _, ty:: BoxTraitStore , _, _ ) => {
575575 let llbox = Load ( bcx, GEPi ( bcx, v, [ 0 u, abi:: trt_field_box] ) ) ;
576576 incr_refcnt_of_boxed ( bcx, llbox) ;
577577 bcx
578578 }
579- ty:: ty_trait( _, _, ty:: UniqTraitStore , _) => {
579+ ty:: ty_trait( _, _, ty:: UniqTraitStore , _, _ ) => {
580580 let lluniquevalue = GEPi ( bcx, v, [ 0 , abi:: trt_field_box] ) ;
581581 let llvtable = Load ( bcx, GEPi ( bcx, v, [ 0 , abi:: trt_field_vtable] ) ) ;
582582
0 commit comments