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:
parent
048c4eaafe
commit
bc2e4fd4cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user