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
//===- GarbageCollect2Stack - Optimize calls to the D garbage collector ---===//
//
// The LLVM D Compiler
@@ -642,3 +644,5 @@ bool isSafeToStackAllocate(Instruction* Alloc, DominatorTree& DT) {
// All uses examined - not captured or live across original allocation.
return true;
}
#endif // USE_METADATA