mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Rename Method to Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1957 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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; }
|
||||
|
Reference in New Issue
Block a user