Mercurial > projects > ldc
diff gen/optimizer.cpp @ 1547:259b031f3d22
Some minor cleanups
* remove an #ifdef USE_METADATA I accidently left in
* remove now unneeded llvm-version includes
* fix indentation in metadata.h
* prevent the "Found native target" message from interrupting ccmake
author | Benjamin Kramer <benny.kra@gmail.com> |
---|---|
date | Mon, 20 Jul 2009 18:16:11 +0200 |
parents | d1652c8fb4f6 |
children | 3adcb70700cb |
line wrap: on
line diff
--- a/gen/optimizer.cpp Mon Jul 20 17:55:05 2009 +0200 +++ b/gen/optimizer.cpp Mon Jul 20 18:16:11 2009 +0200 @@ -159,11 +159,9 @@ if (!disableLangSpecificPasses) { if (!disableSimplifyRuntimeCalls) addPass(pm, createSimplifyDRuntimeCalls()); - -#ifdef USE_METADATA + if (!disableGCToStack) addPass(pm, createGarbageCollect2Stack()); -#endif } // Run some clean-up passes addPass(pm, createInstructionCombiningPass());