diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-20 01:00:03 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-20 01:00:03 +0000 |
commit | cfbe401e8b678aad7238b3d6edb366e68470f6a5 (patch) | |
tree | 97b3fdcfe92a63d24b11a6aa11babb1c674483b4 /tools/opt/PrintSCC.cpp | |
parent | a2a3bbc668cdebcc87e18e93b4576d59dfab625c (diff) | |
download | external_llvm-cfbe401e8b678aad7238b3d6edb366e68470f6a5.zip external_llvm-cfbe401e8b678aad7238b3d6edb366e68470f6a5.tar.gz external_llvm-cfbe401e8b678aad7238b3d6edb366e68470f6a5.tar.bz2 |
Minor cleanups to follow the common convention for pass
registration variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111598 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/PrintSCC.cpp')
-rw-r--r-- | tools/opt/PrintSCC.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/opt/PrintSCC.cpp b/tools/opt/PrintSCC.cpp index 067c203..ba58a43 100644 --- a/tools/opt/PrintSCC.cpp +++ b/tools/opt/PrintSCC.cpp @@ -61,15 +61,15 @@ namespace { AU.addRequired<CallGraph>(); } }; +} - char CFGSCC::ID = 0; - RegisterPass<CFGSCC> - Y("print-cfg-sccs", "Print SCCs of each function CFG"); +char CFGSCC::ID = 0; +static RegisterPass<CFGSCC> +Y("print-cfg-sccs", "Print SCCs of each function CFG"); - char CallGraphSCC::ID = 0; - RegisterPass<CallGraphSCC> - Z("print-callgraph-sccs", "Print SCCs of the Call Graph"); -} +char CallGraphSCC::ID = 0; +static RegisterPass<CallGraphSCC> +Z("print-callgraph-sccs", "Print SCCs of the Call Graph"); bool CFGSCC::runOnFunction(Function &F) { unsigned sccNum = 0; |