Skip to content
Snippets Groups Projects
Commit 8157a90b authored by Chris Lattner's avatar Chris Lattner
Browse files

s/Method/Function in classname

llvm-svn: 2335
parent 5948d72c
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment