diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2002-10-28 00:28:31 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2002-10-28 00:28:31 +0000 |
commit | 7ae7f84cf3570e82facb0cf9032084e7c4549191 (patch) | |
tree | adbe7ea506a7470b8feaea2f9b8539281dff5d05 /llvm/lib/Target/Sparc/Sparc.cpp | |
parent | 52c2d10a19ed5fc58844ae223561ba6653f995f2 (diff) | |
download | bcm5719-llvm-7ae7f84cf3570e82facb0cf9032084e7c4549191.tar.gz bcm5719-llvm-7ae7f84cf3570e82facb0cf9032084e7c4549191.zip |
Changed `MachineCodeForMethod' to `MachineFunction'.
llvm-svn: 4301
Diffstat (limited to 'llvm/lib/Target/Sparc/Sparc.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/Sparc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/Sparc/Sparc.cpp b/llvm/lib/Target/Sparc/Sparc.cpp index 88eaeb893f7..2484acebf24 100644 --- a/llvm/lib/Target/Sparc/Sparc.cpp +++ b/llvm/lib/Target/Sparc/Sparc.cpp @@ -8,7 +8,7 @@ #include "SparcInternals.h" #include "llvm/Target/Sparc.h" #include "llvm/Function.h" -#include "llvm/CodeGen/MachineCodeForMethod.h" +#include "llvm/CodeGen/MachineFunction.h" using std::cerr; // Build the MachineInstruction Description Array... @@ -39,7 +39,7 @@ TargetMachine *allocateSparcTargetMachine() { return new UltraSparc(); } //--------------------------------------------------------------------------- int -UltraSparcFrameInfo::getFirstAutomaticVarOffset(MachineCodeForMethod& , +UltraSparcFrameInfo::getFirstAutomaticVarOffset(MachineFunction& , bool& pos) const { pos = false; // static stack area grows downwards @@ -47,7 +47,7 @@ UltraSparcFrameInfo::getFirstAutomaticVarOffset(MachineCodeForMethod& , } int -UltraSparcFrameInfo::getRegSpillAreaOffset(MachineCodeForMethod& mcInfo, +UltraSparcFrameInfo::getRegSpillAreaOffset(MachineFunction& mcInfo, bool& pos) const { mcInfo.freezeAutomaticVarsArea(); // ensure no more auto vars are added @@ -58,7 +58,7 @@ UltraSparcFrameInfo::getRegSpillAreaOffset(MachineCodeForMethod& mcInfo, } int -UltraSparcFrameInfo::getTmpAreaOffset(MachineCodeForMethod& mcInfo, +UltraSparcFrameInfo::getTmpAreaOffset(MachineFunction& mcInfo, bool& pos) const { mcInfo.freezeAutomaticVarsArea(); // ensure no more auto vars are added @@ -72,7 +72,7 @@ UltraSparcFrameInfo::getTmpAreaOffset(MachineCodeForMethod& mcInfo, } int -UltraSparcFrameInfo::getDynamicAreaOffset(MachineCodeForMethod& mcInfo, +UltraSparcFrameInfo::getDynamicAreaOffset(MachineFunction& mcInfo, bool& pos) const { // Dynamic stack area grows downwards starting at top of opt-args area. |