1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

s/Method/Function in classname

llvm-svn: 2335
This commit is contained in:
Chris Lattner 2002-04-27 06:59:56 +00:00
parent 048c4eaafe
commit bc2e4fd4cf

View File

@ -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