From f4eacbb3b44f8e56201dd66be9981669326ada6d Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Fri, 29 Jul 2011 14:22:00 -0700 Subject: [PATCH] Get rid of an obsolete comment now that obj dtors are gone. --- src/comp/middle/trans.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index 48a7e9abbb1..f29eb4da86d 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -6996,9 +6996,6 @@ fn trans_obj(cx: @local_ctxt, sp: &span, ob: &ast::_obj, let llbox_ty: TypeRef = T_ptr(T_empty_struct()); - // FIXME: we should probably also allocate a box for empty objs that have - // a dtor, since otherwise they are never dropped, and the dtor never - // runs. if std::ivec::len[ast::ty_param](ty_params) == 0u && std::ivec::len[ty::arg](arg_tys) == 0u { // If the object we're translating has no fields or type parameters,