Skip to content

Commit f4eacbb

Browse files
committed
Get rid of an obsolete comment now that obj dtors are gone.
1 parent 57e4efb commit f4eacbb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/comp/middle/trans.rs

-3
Original file line numberDiff line numberDiff line change
@@ -6996,9 +6996,6 @@ fn trans_obj(cx: @local_ctxt, sp: &span, ob: &ast::_obj,
69966996

69976997
let llbox_ty: TypeRef = T_ptr(T_empty_struct());
69986998

6999-
// FIXME: we should probably also allocate a box for empty objs that have
7000-
// a dtor, since otherwise they are never dropped, and the dtor never
7001-
// runs.
70026999
if std::ivec::len[ast::ty_param](ty_params) == 0u &&
70037000
std::ivec::len[ty::arg](arg_tys) == 0u {
70047001
// If the object we're translating has no fields or type parameters,

0 commit comments

Comments
 (0)