Mercurial > projects > ldc
diff gen/typinf.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/gen/typinf.cpp Sat Jul 11 14:09:33 2009 +0200 +++ b/gen/typinf.cpp Sat Jul 11 14:19:21 2009 +0200 @@ -303,7 +303,6 @@ tid->ir.irGlobal = irg; -#ifdef USE_METADATA // Add some metadata for use by optimization passes. std::string metaname = std::string(TD_PREFIX) + mangle; LLGlobalVariable* meta = gIR->module->getGlobalVariable(metaname); @@ -321,7 +320,6 @@ new llvm::GlobalVariable(*gIR->module, metadata->getType(), true, METADATA_LINKAGE_TYPE, metadata, metaname); } -#endif DtoDeclareTypeInfo(tid); }