summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackSlotColoring.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-08-06 00:23:35 +0000
committerOwen Anderson <resistor@mac.com>2010-08-06 00:23:35 +0000
commitbda59bd247b1153e4bc19f85dee4cb594b9c2b32 (patch)
tree669b82d1ff890ce19f7c3ad68f66975f9eafb681 /llvm/lib/CodeGen/StackSlotColoring.cpp
parent396e041f5eac1cf6eda07e94ff34c3f2f4905ead (diff)
downloadbcm5719-llvm-bda59bd247b1153e4bc19f85dee4cb594b9c2b32.tar.gz
bcm5719-llvm-bda59bd247b1153e4bc19f85dee4cb594b9c2b32.zip
Revert r110396 to fix buildbots.
llvm-svn: 110410
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
-rw-r--r--llvm/lib/CodeGen/StackSlotColoring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/StackSlotColoring.cpp b/llvm/lib/CodeGen/StackSlotColoring.cpp
index dab6bc3924d..7da3d17a541 100644
--- a/llvm/lib/CodeGen/StackSlotColoring.cpp
+++ b/llvm/lib/CodeGen/StackSlotColoring.cpp
@@ -95,9 +95,9 @@ namespace {
public:
static char ID; // Pass identification
StackSlotColoring() :
- MachineFunctionPass(ID), ColorWithRegs(false), NextColor(-1) {}
+ MachineFunctionPass(&ID), ColorWithRegs(false), NextColor(-1) {}
StackSlotColoring(bool RegColor) :
- MachineFunctionPass(ID), ColorWithRegs(RegColor), NextColor(-1) {}
+ MachineFunctionPass(&ID), ColorWithRegs(RegColor), NextColor(-1) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesCFG();
OpenPOWER on IntegriCloud