summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SCCP.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/Transforms/Scalar/SCCP.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/Transforms/Scalar/SCCP.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SCCP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp
index 5cf0abca4cc..82294dcd5fb 100644
--- a/llvm/lib/Transforms/Scalar/SCCP.cpp
+++ b/llvm/lib/Transforms/Scalar/SCCP.cpp
@@ -1586,7 +1586,7 @@ namespace {
///
struct SCCP : public FunctionPass {
static char ID; // Pass identification, replacement for typeid
- SCCP() : FunctionPass(ID) {}
+ SCCP() : FunctionPass(&ID) {}
// runOnFunction - Run the Sparse Conditional Constant Propagation
// algorithm, and return true if the function was modified.
@@ -1702,7 +1702,7 @@ namespace {
///
struct IPSCCP : public ModulePass {
static char ID;
- IPSCCP() : ModulePass(ID) {}
+ IPSCCP() : ModulePass(&ID) {}
bool runOnModule(Module &M);
};
} // end anonymous namespace
OpenPOWER on IntegriCloud