[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9FrameInfo.h

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 12 10:58:17 PDT 2004



Changes in directory llvm/lib/Target/SparcV9:

SparcV9FrameInfo.h updated: 1.6 -> 1.7
---
Log message:

Remove dead methods


---
Diffs of the changes:  (+0 -23)

Index: llvm/lib/Target/SparcV9/SparcV9FrameInfo.h
diff -u llvm/lib/Target/SparcV9/SparcV9FrameInfo.h:1.6 llvm/lib/Target/SparcV9/SparcV9FrameInfo.h:1.7
--- llvm/lib/Target/SparcV9/SparcV9FrameInfo.h:1.6	Thu Aug 12 12:56:00 2004
+++ llvm/lib/Target/SparcV9/SparcV9FrameInfo.h	Thu Aug 12 12:58:05 2004
@@ -67,29 +67,6 @@
   int getTmpAreaOffset(MachineFunction& mcInfo, bool& growUp) const;
   int getDynamicAreaOffset(MachineFunction& mcInfo, bool& growUp) const;
 
-  //
-  // These methods specify the base register used for each stack area
-  // (generally FP or SP)
-  // 
-  virtual int getIncomingArgBaseRegNum() const {
-    return (int) target.getRegInfo()->getFramePointer();
-  }
-  virtual int getOutgoingArgBaseRegNum() const {
-    return (int) target.getRegInfo()->getStackPointer();
-  }
-  virtual int getOptionalOutgoingArgBaseRegNum() const {
-    return (int) target.getRegInfo()->getStackPointer();
-  }
-  virtual int getAutomaticVarBaseRegNum() const {
-    return (int) target.getRegInfo()->getFramePointer();
-  }
-  virtual int getRegSpillAreaBaseRegNum() const {
-    return (int) target.getRegInfo()->getFramePointer();
-  }
-  virtual int getDynamicAreaBaseRegNum() const {
-    return (int) target.getRegInfo()->getStackPointer();
-  }
-
   virtual int getIncomingArgOffset(MachineFunction& mcInfo, 
                                    unsigned argNum) const {
     assert(argsOnStackHaveFixedSize()); 






More information about the llvm-commits mailing list