Mercurial > projects > ldc
comparison gen/passes/GarbageCollect2Stack.cpp @ 1533:d1652c8fb4f6
Get rid of USE_METADATA
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Sat, 11 Jul 2009 14:19:21 +0200 |
parents | 360a8e8eea51 |
children | 6364e09628fd |
comparison
equal
deleted
inserted
replaced
1532:c88b16d4a13c | 1533:d1652c8fb4f6 |
---|---|
11 // stack allocations. | 11 // stack allocations. |
12 // | 12 // |
13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
14 | 14 |
15 #include "gen/metadata.h" | 15 #include "gen/metadata.h" |
16 | |
17 // This pass doesn't work without metadata, so #ifdef it out entirely if the | |
18 // LLVM version in use doesn't support it. | |
19 #ifdef USE_METADATA | |
20 | |
21 | 16 |
22 #define DEBUG_TYPE "dgc2stack" | 17 #define DEBUG_TYPE "dgc2stack" |
23 | 18 |
24 #include "Passes.h" | 19 #include "Passes.h" |
25 | 20 |
645 } | 640 } |
646 | 641 |
647 // All uses examined - not captured or live across original allocation. | 642 // All uses examined - not captured or live across original allocation. |
648 return true; | 643 return true; |
649 } | 644 } |
650 | |
651 | |
652 #endif //USE_METADATA |