Mercurial > projects > ldc
diff gen/passes/GarbageCollect2Stack.cpp @ 1558:3adcb70700cb
Added back option to disable metadata generation and users. Set USE_METADATA to OFF in ccmake.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Fri, 31 Jul 2009 11:28:31 +0200 |
parents | ed0cffe895ec |
children | 06d5cc873350 |
line wrap: on
line diff
--- a/gen/passes/GarbageCollect2Stack.cpp Fri Jul 31 01:44:47 2009 +0200 +++ b/gen/passes/GarbageCollect2Stack.cpp Fri Jul 31 11:28:31 2009 +0200 @@ -1,3 +1,5 @@ +#if USE_METADATA + //===- GarbageCollect2Stack - Optimize calls to the D garbage collector ---===// // // The LLVM D Compiler @@ -642,3 +644,5 @@ // All uses examined - not captured or live across original allocation. return true; } + +#endif // USE_METADATA