From: Chris Lattner Date: Sat, 27 Apr 2002 06:59:56 +0000 (+0000) Subject: s/Method/Function in classname X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3b743f9fb3dc95aabc54d17cafe1b393b76b943c;p=oota-llvm.git s/Method/Function in classname git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2335 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h index af82f6b3f23..a6f259a57db 100644 --- a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h +++ b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h @@ -11,11 +11,11 @@ #include "llvm/Pass.h" -struct UnifyMethodExitNodes : public FunctionPass { +struct UnifyFunctionExitNodes : public FunctionPass { BasicBlock *ExitNode; public: static AnalysisID ID; // Pass ID - UnifyMethodExitNodes(AnalysisID id = ID) : ExitNode(0) { assert(ID == id); } + UnifyFunctionExitNodes(AnalysisID id = ID) : ExitNode(0) { assert(ID == id); } // UnifyAllExitNodes - Unify all exit nodes of the CFG by creating a new // BasicBlock, and converting all returns to unconditional branches to this @@ -37,8 +37,8 @@ public: } }; -static inline Pass *createUnifyMethodExitNodesPass() { - return new UnifyMethodExitNodes(); +static inline Pass *createUnifyFunctionExitNodesPass() { + return new UnifyFunctionExitNodes(); } #endif