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
This commit is contained in:
Benjamin Kramer 2009-07-20 18:16:11 +02:00
parent 69171c07cd
commit 51c02d192a
8 changed files with 13 additions and 22 deletions

View file

@ -159,11 +159,9 @@ static void addPassesForOptLevel(PassManager& pm) {
if (!disableLangSpecificPasses) {
if (!disableSimplifyRuntimeCalls)
addPass(pm, createSimplifyDRuntimeCalls());
#ifdef USE_METADATA
if (!disableGCToStack)
addPass(pm, createGarbageCollect2Stack());
#endif
}
// Run some clean-up passes
addPass(pm, createInstructionCombiningPass());