mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 00:23:14 +01: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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user