stop zeroing the drop flag in drop glue
this is only going to cover up real bugs, as it's not part of the model used to prevent multiple destructor calls
This commit is contained in:
parent
a9fb88d4f8
commit
f56cf16b80
@ -423,7 +423,6 @@ pub fn trans_struct_drop_flag(bcx: @mut Block, t: ty::t, v0: ValueRef, dtor_did:
|
||||
bcx = drop_ty(bcx, llfld_a, fld.mt.ty);
|
||||
}
|
||||
|
||||
Store(bcx, C_u8(0), drop_flag);
|
||||
bcx
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user