Remove USE_METADATA.

It has been on by default for quite some time now.
This commit is contained in:
David Nadlinger
2013-06-07 02:48:53 +02:00
parent 9fbad3c4ba
commit 43e27d0dd1
7 changed files with 1 additions and 27 deletions
-2
View File
@@ -88,7 +88,6 @@ LLGlobalVariable * IrStruct::getClassInfoSymbol()
classInfo = new llvm::GlobalVariable(
*gIR->module, tc->getMemoryLLType(), false, _linkage, NULL, initname);
#if USE_METADATA
// Generate some metadata on this ClassInfo if it's for a class.
ClassDeclaration* classdecl = aggrdecl->isClassDeclaration();
if (classdecl && !aggrdecl->isInterfaceDeclaration()) {
@@ -109,7 +108,6 @@ LLGlobalVariable * IrStruct::getClassInfoSymbol()
node->addOperand(llvm::MDNode::get(gIR->context(),
llvm::makeArrayRef(mdVals, CD_NumFields)));
}
#endif // USE_METADATA
return classInfo;
}