mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
s/Method/Function in classname
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2335 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d0cbb94cce
commit
3b743f9fb3
@ -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…
x
Reference in New Issue
Block a user