aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/Mips/MipsMachineFunction.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2011-05-23 20:34:30 +0000
committerAkira Hatanaka <ahatanak@gmail.com>2011-05-23 20:34:30 +0000
commit90d96f44ce998a8de26171f7d85831156bc25866 (patch)
treea8ee20f1cb70be62498bf99cf54b2cf2e850ebaf /llvm/lib/Target/Mips/MipsMachineFunction.h
parentd71ed9431ad2ab5516cc7e468adc610bdc681d9b (diff)
downloadllvm-90d96f44ce998a8de26171f7d85831156bc25866.zip
llvm-90d96f44ce998a8de26171f7d85831156bc25866.tar.gz
llvm-90d96f44ce998a8de26171f7d85831156bc25866.tar.bz2
Fix MipsAsmPrinter::printSavedRegsBitmaskChange. Remove functions and variables
in MipsFunctionInfo that are no longer used. llvm-svn: 131917
Diffstat (limited to 'llvm/lib/Target/Mips/MipsMachineFunction.h')
-rw-r--r--llvm/lib/Target/Mips/MipsMachineFunction.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/llvm/lib/Target/Mips/MipsMachineFunction.h b/llvm/lib/Target/Mips/MipsMachineFunction.h
index 1d3c7fa..fffc0ed 100644
--- a/llvm/lib/Target/Mips/MipsMachineFunction.h
+++ b/llvm/lib/Target/Mips/MipsMachineFunction.h
@@ -27,13 +27,6 @@ namespace llvm {
class MipsFunctionInfo : public MachineFunctionInfo {
private:
- /// At each function entry, two special bitmask directives must be emitted
- /// to help debugging, for CPU and FPU callee saved registers. Both need
- /// the negative offset from the final stack size and its higher registers
- /// location on the stack.
- int CPUTopSavedRegOff;
- int FPUTopSavedRegOff;
-
/// SRetReturnReg - Some subtargets require that sret lowering includes
/// returning the value of the returned struct in a register. This field
/// holds the virtual register into which the sret argument is passed.
@@ -58,19 +51,12 @@ private:
int MaxCallFrameSize;
public:
MipsFunctionInfo(MachineFunction& MF)
- : CPUTopSavedRegOff(0),
- FPUTopSavedRegOff(0), SRetReturnReg(0), GlobalBaseReg(0),
+ : SRetReturnReg(0), GlobalBaseReg(0),
VarArgsFrameIndex(0), InArgFIRange(std::make_pair(-1, 0)),
OutArgFIRange(std::make_pair(-1, 0)), GPFI(0), HasCall(false),
MaxCallFrameSize(-1)
{}
- int getCPUTopSavedRegOff() const { return CPUTopSavedRegOff; }
- void setCPUTopSavedRegOff(int Off) { CPUTopSavedRegOff = Off; }
-
- int getFPUTopSavedRegOff() const { return FPUTopSavedRegOff; }
- void setFPUTopSavedRegOff(int Off) { FPUTopSavedRegOff = Off; }
-
bool isInArgFI(int FI) const {
return FI <= InArgFIRange.first && FI >= InArgFIRange.second;
}