projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use PassInfo* as a type identifier for passes. Instead, use the address of...
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
SimplifyCFGPass.cpp
diff --git
a/lib/Transforms/Scalar/SimplifyCFGPass.cpp
b/lib/Transforms/Scalar/SimplifyCFGPass.cpp
index dad8f2aaec0acf1051925c3abbd2fa29872b1efe..df6ef2ee75b61860bd7f45658883b9a64222cc16 100644
(file)
--- a/
lib/Transforms/Scalar/SimplifyCFGPass.cpp
+++ b/
lib/Transforms/Scalar/SimplifyCFGPass.cpp
@@
-42,7
+42,7
@@
STATISTIC(NumSimpl, "Number of blocks simplified");
namespace {
struct CFGSimplifyPass : public FunctionPass {
static char ID; // Pass identification, replacement for typeid
namespace {
struct CFGSimplifyPass : public FunctionPass {
static char ID; // Pass identification, replacement for typeid
- CFGSimplifyPass() : FunctionPass(
&
ID) {}
+ CFGSimplifyPass() : FunctionPass(ID) {}
virtual bool runOnFunction(Function &F);
};
virtual bool runOnFunction(Function &F);
};