diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-23 22:51:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-23 22:51:58 +0000 |
commit | e7506a366e8bd56c97d10beb68e4db953aebaeca (patch) | |
tree | 2ed9896ec8647934d3c26cb740dc4ed16d9ae57b /include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h | |
parent | bcd8e0313853473f72a138e51072f9bd545fadd2 (diff) |
Rename Method to Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h')
-rw-r--r-- | include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h index 4c87b096f8..86784ed1cf 100644 --- a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h +++ b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h @@ -23,11 +23,11 @@ public: // // If there are no return stmts in the Method, a null pointer is returned. // - static bool doit(Method *M, BasicBlock *&ExitNode); + static bool doit(Function *F, BasicBlock *&ExitNode); - virtual bool runOnMethod(Method *M) { - return doit(M, ExitNode); + virtual bool runOnMethod(Function *F) { + return doit(F, ExitNode); } BasicBlock *getExitNode() const { return ExitNode; } |