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
/
Analysis
/
InstCount.cpp
diff --git
a/lib/Analysis/InstCount.cpp
b/lib/Analysis/InstCount.cpp
index 6133b8827b38b28707fb529ee562cb008acb1dfe..dcbcac005a2fc1c1a0bdbc214cd1993ac082725d 100644
(file)
--- a/
lib/Analysis/InstCount.cpp
+++ b/
lib/Analysis/InstCount.cpp
@@
-51,7
+51,7
@@
namespace {
}
public:
static char ID; // Pass identification, replacement for typeid
- InstCount() : FunctionPass(
&
ID) {}
+ InstCount() : FunctionPass(ID) {}
virtual bool runOnFunction(Function &F);