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/CodeGen/MachineFunction.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/CodeGen/MachineFunction.h')
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 631e823719..9970c1f926 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -14,14 +14,14 @@ #include "Support/HashExtras.h" #include <ext/hash_set> 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<const Value*, int> 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. |