Added back option to disable metadata generation and users. Set USE_METADATA to OFF in ccmake.

This commit is contained in:
Tomas Lindquist Olsen
2009-07-31 11:28:31 +02:00
parent b7b671ce48
commit d5d3ecdb05
9 changed files with 31 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
#if USE_METADATA
//===- StripMetaData - Strips D-specific metadata -------------------------===//
//
// The LLVM D Compiler
@@ -75,3 +77,5 @@ bool StripMetaData::runOnModule(Module &M) {
}
return Changed;
}
#endif // USE_METADATA