mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-13 13:31:36 +02:00
dgc2stack: LLVM 3.2 compatibility.
This commit is contained in:
@@ -190,7 +190,7 @@ static void addOptimizationPasses(PassManagerBase &mpm, FunctionPassManager &fpm
|
||||
|
||||
#if USE_METADATA
|
||||
if (!disableGCToStack)
|
||||
Builder.addExtension(PassManagerBuilder::EP_LoopOptimizerEnd, addGarbageCollect2StackPass);
|
||||
builder.addExtension(PassManagerBuilder::EP_LoopOptimizerEnd, addGarbageCollect2StackPass);
|
||||
#endif // USE_METADATA
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user