diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-23 18:06:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-23 18:06:35 +0000 |
commit | f629309f74cf1a64aa7fd1cd5784fd7db9a8f59e (patch) | |
tree | baf1f59f5f0ba41f4bd1711c4155bbe328e6d041 /lib/Transforms/Scalar/SimplifyCFG.cpp | |
parent | af41a12370010325eb163b734d5757a7f0296e67 (diff) | |
download | external_llvm-f629309f74cf1a64aa7fd1cd5784fd7db9a8f59e.tar.gz external_llvm-f629309f74cf1a64aa7fd1cd5784fd7db9a8f59e.tar.bz2 external_llvm-f629309f74cf1a64aa7fd1cd5784fd7db9a8f59e.zip |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/SimplifyCFG.cpp')
-rw-r--r-- | lib/Transforms/Scalar/SimplifyCFG.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/SimplifyCFG.cpp b/lib/Transforms/Scalar/SimplifyCFG.cpp index 08611d2349..6774dc17a3 100644 --- a/lib/Transforms/Scalar/SimplifyCFG.cpp +++ b/lib/Transforms/Scalar/SimplifyCFG.cpp @@ -24,10 +24,9 @@ static Statistic<> NumSimpl("cfgsimplify\t- Number of blocks simplified"); namespace { struct CFGSimplifyPass : public FunctionPass { - const char *getPassName() const { return "Simplify CFG"; } - virtual bool runOnFunction(Function &F); }; + RegisterPass<CFGSimplifyPass> X("simplifycfg", "Simplify the CFG"); } Pass *createCFGSimplificationPass() { |