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:
Andrew Trick
2012-02-08 21:22:57 +00:00
parent c7d081b594
commit 32986572bf
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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 {