projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
DeadStoreElimination.cpp
diff --git
a/lib/Transforms/Scalar/DeadStoreElimination.cpp
b/lib/Transforms/Scalar/DeadStoreElimination.cpp
index e047e4ffa151c271e8b1b7a8c839178f4fe92c13..dddefeda083a58740f7ae3d27646537136343d7f 100644
(file)
--- a/
lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/
lib/Transforms/Scalar/DeadStoreElimination.cpp
@@
-82,7
+82,7
@@
namespace {
}
char DSE::ID = 0;
-
static RegisterPass<DSE> X("dse", "Dead Store Elimination"
);
+
INITIALIZE_PASS(DSE, "dse", "Dead Store Elimination", false, false
);
FunctionPass *llvm::createDeadStoreEliminationPass() { return new DSE(); }