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
/
ADCE.cpp
diff --git
a/lib/Transforms/Scalar/ADCE.cpp
b/lib/Transforms/Scalar/ADCE.cpp
index 4df1c7c8b8a0600715d3a8386db8252a3cb7ed87..ada086e9db766404980eca3732d9fb027cb95984 100644
(file)
--- a/
lib/Transforms/Scalar/ADCE.cpp
+++ b/
lib/Transforms/Scalar/ADCE.cpp
@@
-33,7
+33,7
@@
STATISTIC(NumRemoved, "Number of instructions removed");
namespace {
struct ADCE : public FunctionPass {
static char ID; // Pass identification, replacement for typeid
- ADCE() : FunctionPass(
&
ID) {}
+ ADCE() : FunctionPass(ID) {}
virtual bool runOnFunction(Function& F);