summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/CondPropagate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Scalar/CondPropagate.cpp')
-rw-r--r--lib/Transforms/Scalar/CondPropagate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/CondPropagate.cpp b/lib/Transforms/Scalar/CondPropagate.cpp
index c1dd9edba9..84e9782a9d 100644
--- a/lib/Transforms/Scalar/CondPropagate.cpp
+++ b/lib/Transforms/Scalar/CondPropagate.cpp
@@ -31,7 +31,7 @@ STATISTIC(NumSwThread, "Number of CFG edges threaded through switches");
namespace {
struct VISIBILITY_HIDDEN CondProp : public FunctionPass {
- static const char ID; // Pass identifcation, replacement for typeid
+ static char ID; // Pass identifcation, replacement for typeid
CondProp() : FunctionPass((intptr_t)&ID) {}
virtual bool runOnFunction(Function &F);
@@ -49,7 +49,7 @@ namespace {
void RevectorBlockTo(BasicBlock *FromBB, BasicBlock *ToBB);
};
- const char CondProp::ID = 0;
+ char CondProp::ID = 0;
RegisterPass<CondProp> X("condprop", "Conditional Propagation");
}