mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Move pass configuration out of pass constructors: StackSlotColoring.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150097 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -132,8 +132,8 @@ INITIALIZE_PASS_DEPENDENCY(MachineLoopInfo)
|
||||
INITIALIZE_PASS_END(StackSlotColoring, "stack-slot-coloring",
|
||||
"Stack Slot Coloring", false, false)
|
||||
|
||||
FunctionPass *llvm::createStackSlotColoringPass(bool RegColor) {
|
||||
return new StackSlotColoring(RegColor);
|
||||
FunctionPass *llvm::createStackSlotColoringPass() {
|
||||
return new StackSlotColoring(/*RegColor=*/false);
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in New Issue
Block a user