From e7506a366e8bd56c97d10beb68e4db953aebaeca Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 23 Mar 2002 22:51:58 +0000 Subject: Rename Method to Function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1957 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineCodeForMethod.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/llvm/CodeGen/MachineCodeForMethod.h') diff --git a/include/llvm/CodeGen/MachineCodeForMethod.h b/include/llvm/CodeGen/MachineCodeForMethod.h index 631e823719..9970c1f926 100644 --- a/include/llvm/CodeGen/MachineCodeForMethod.h +++ b/include/llvm/CodeGen/MachineCodeForMethod.h @@ -14,14 +14,14 @@ #include "Support/HashExtras.h" #include class Value; -class Method; +class Function; class Constant; class Type; class TargetMachine; class MachineCodeForMethod : private Annotation { - const Method* method; + const Function* method; bool compiledAsLeaf; unsigned staticStackSize; unsigned automaticVarsSize; @@ -33,7 +33,7 @@ class MachineCodeForMethod : private Annotation { std::hash_map offsets; public: - /*ctor*/ MachineCodeForMethod(const Method* method, + /*ctor*/ MachineCodeForMethod(const Function* function, const TargetMachine& target); // The next two methods are used to construct and to retrieve @@ -43,10 +43,10 @@ public: // This should not be called before "construct()" // for a given Method. // - static MachineCodeForMethod& construct(const Method *method, + static MachineCodeForMethod& construct(const Function *method, const TargetMachine &target); - static void destruct(const Method *M); - static MachineCodeForMethod& get(const Method* method); + static void destruct(const Function *F); + static MachineCodeForMethod& get(const Function* function); // // Accessors for global information about generated code for a method. -- cgit v1.2.3-18-g5258