mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-29 22:50:53 +03:00
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:
parent
69171c07cd
commit
51c02d192a
8 changed files with 13 additions and 22 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue