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
/
Utils
/
SSI.cpp
diff --git
a/lib/Transforms/Utils/SSI.cpp
b/lib/Transforms/Utils/SSI.cpp
index 62a93e4e99110f10247679877e4a1920a4a60aea..81523d3bdc8a85643461c3872959a0f918ae1e50 100644
(file)
--- a/
lib/Transforms/Utils/SSI.cpp
+++ b/
lib/Transforms/Utils/SSI.cpp
@@
-399,7
+399,7
@@
INITIALIZE_PASS(SSI, "ssi",
namespace {
struct SSIEverything : public FunctionPass {
static char ID; // Pass identification, replacement for typeid
- SSIEverything() : FunctionPass(
&
ID) {}
+ SSIEverything() : FunctionPass(ID) {}
bool runOnFunction(Function &F);