Mercurial > projects > ldc
diff ir/irlandingpad.cpp @ 1148:3d1b16dabd25
Eliminated the need for resolve, declare, const-init and define lists to drive code generation.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Fri, 27 Mar 2009 21:50:32 +0100 |
parents | f04dde6e882c |
children | 79758fd2f48a |
line wrap: on
line diff
--- a/ir/irlandingpad.cpp Fri Mar 27 17:54:27 2009 +0100 +++ b/ir/irlandingpad.cpp Fri Mar 27 21:50:32 2009 +0100 @@ -49,7 +49,7 @@ assert(catchstmt->type); catchType = catchstmt->type->toBasetype()->isClassHandle(); assert(catchType); - DtoForceDeclareDsymbol(catchType); + catchType->codegen(Type::sir); } IRLandingPadInfo::IRLandingPadInfo(Statement* finallystmt)