summaryrefslogtreecommitdiff
path: root/lib/CodeGen/StackSlotColoring.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-02-08 21:22:57 +0000
committerAndrew Trick <atrick@apple.com>2012-02-08 21:22:57 +0000
commit32986572bfe5a30c500d03b8d55174720f08f0bf (patch)
tree1d5437f1a6e17bc43c0c0d534d34a73a0c5365f0 /lib/CodeGen/StackSlotColoring.cpp
parentc7d081b5946b9ff9f7400d5b41f36cad3fc317aa (diff)
downloadllvm-32986572bfe5a30c500d03b8d55174720f08f0bf.tar.gz
llvm-32986572bfe5a30c500d03b8d55174720f08f0bf.tar.bz2
llvm-32986572bfe5a30c500d03b8d55174720f08f0bf.tar.xz
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
Diffstat (limited to 'lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r--lib/CodeGen/StackSlotColoring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp
index 9e84f3c408..908d108c6e 100644
--- a/lib/CodeGen/StackSlotColoring.cpp
+++ b/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 {