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
/
Analysis
/
CFGPrinter.cpp
diff --git
a/lib/Analysis/CFGPrinter.cpp
b/lib/Analysis/CFGPrinter.cpp
index e06704bd897ca9acf0d440df388d5b7a2bb04c7c..c16f3286df2c48c802bac23f57536a5ecbb61de9 100644
(file)
--- a/
lib/Analysis/CFGPrinter.cpp
+++ b/
lib/Analysis/CFGPrinter.cpp
@@
-41,8
+41,7
@@
namespace {
}
char CFGViewer::ID = 0;
-static RegisterPass<CFGViewer>
-V0("view-cfg", "View CFG of function", false, true);
+INITIALIZE_PASS(CFGViewer, "view-cfg", "View CFG of function", false, true);
namespace {
struct CFGOnlyViewer : public FunctionPass {