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
/
Sink.cpp
diff --git
a/lib/Transforms/Scalar/Sink.cpp
b/lib/Transforms/Scalar/Sink.cpp
index 2448312673ba50a6e7c3c56ae923ef3aac2686b7..95d3dedfb62dbeece1b669f79499c7b9ae2befa5 100644
(file)
--- a/
lib/Transforms/Scalar/Sink.cpp
+++ b/
lib/Transforms/Scalar/Sink.cpp
@@
-35,7
+35,7
@@
namespace {
public:
static char ID; // Pass identification
- Sinking() : FunctionPass(
&
ID) {}
+ Sinking() : FunctionPass(ID) {}
virtual bool runOnFunction(Function &F);