mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-14 20:03:14 +01:00
Added back option to disable metadata generation and users. Set USE_METADATA to OFF in ccmake.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user