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
/
Reassociate.cpp
diff --git
a/lib/Transforms/Scalar/Reassociate.cpp
b/lib/Transforms/Scalar/Reassociate.cpp
index e686c52fd8a01b9231e040b86e6f20a459da9823..b8afcc12d927d165e3e6aa82763932cdf73b96cc 100644
(file)
--- a/
lib/Transforms/Scalar/Reassociate.cpp
+++ b/
lib/Transforms/Scalar/Reassociate.cpp
@@
-77,7
+77,7
@@
namespace {
bool MadeChange;
public:
static char ID; // Pass identification, replacement for typeid
- Reassociate() : FunctionPass(
&
ID) {}
+ Reassociate() : FunctionPass(ID) {}
bool runOnFunction(Function &F);