diff options
author | Andrew Trick <atrick@apple.com> | 2012-02-08 21:22:57 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-02-08 21:22:57 +0000 |
commit | 3ed444a16a5388558799e42eac2a086e526af2b1 (patch) | |
tree | 81df474c5a6b86e035ac228b1446737f76837bd0 /llvm/lib/CodeGen/StackSlotColoring.cpp | |
parent | df7e3769b5765e80e816e6a6897c4dfc41263204 (diff) | |
download | bcm5719-llvm-3ed444a16a5388558799e42eac2a086e526af2b1.tar.gz bcm5719-llvm-3ed444a16a5388558799e42eac2a086e526af2b1.zip |
Move pass configuration out of pass constructors: StackSlotColoring.
llvm-svn: 150097
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r-- | llvm/lib/CodeGen/StackSlotColoring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/StackSlotColoring.cpp b/llvm/lib/CodeGen/StackSlotColoring.cpp index 9e84f3c408f..908d108c6ee 100644 --- a/llvm/lib/CodeGen/StackSlotColoring.cpp +++ b/llvm/lib/CodeGen/StackSlotColoring.cpp @@ -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 { |