Mercurial > projects > ldc
diff ir/irclass.cpp @ 1533:d1652c8fb4f6
Get rid of USE_METADATA
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Sat, 11 Jul 2009 14:19:21 +0200 |
parents | ad7f2f1862d6 |
children | 7fcb72d518f6 |
line wrap: on
line diff
--- a/ir/irclass.cpp Sat Jul 11 14:09:33 2009 +0200 +++ b/ir/irclass.cpp Sat Jul 11 14:19:21 2009 +0200 @@ -71,9 +71,7 @@ classInfo = new llvm::GlobalVariable( *gIR->module, tc->getPA().get(), false, _linkage, NULL, initname); -#ifdef USE_METADATA // Generate some metadata on this ClassInfo if it's for a class. - ClassDeclaration* classdecl = aggrdecl->isClassDeclaration(); if (classdecl && !aggrdecl->isInterfaceDeclaration()) { // Gather information @@ -92,7 +90,6 @@ new llvm::GlobalVariable(*gIR->module, metadata->getType(), true, METADATA_LINKAGE_TYPE, metadata, CD_PREFIX + initname); } -#endif return classInfo; }