summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MBlaze/MBlazeFrameInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/MBlaze/MBlazeFrameInfo.h')
-rw-r--r--llvm/lib/Target/MBlaze/MBlazeFrameInfo.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/lib/Target/MBlaze/MBlazeFrameInfo.h b/llvm/lib/Target/MBlaze/MBlazeFrameInfo.h
index 204d2f8c472..03c39f05024 100644
--- a/llvm/lib/Target/MBlaze/MBlazeFrameInfo.h
+++ b/llvm/lib/Target/MBlaze/MBlazeFrameInfo.h
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef ALPHA_FRAMEINFO_H
-#define ALPHA_FRAMEINFO_H
+#ifndef MBLAZE_FRAMEINFO_H
+#define MBLAZE_FRAMEINFO_H
#include "MBlaze.h"
#include "MBlazeSubtarget.h"
@@ -27,11 +27,9 @@ protected:
public:
explicit MBlazeFrameInfo(const MBlazeSubtarget &sti)
- : TargetFrameInfo(TargetFrameInfo::StackGrowsUp, 8, 0), STI(sti) {
+ : TargetFrameInfo(TargetFrameInfo::StackGrowsUp, 4, 0), STI(sti) {
}
- void adjustMBlazeStackFrame(MachineFunction &MF) const;
-
/// targetHandlesStackFrameRounding - Returns true if the target is
/// responsible for rounding up the stack frame (probably at emitPrologue
/// time).
@@ -43,6 +41,9 @@ public:
void emitEpilogue(MachineFunction &MF, MachineBasicBlock &MBB) const;
bool hasFP(const MachineFunction &MF) const;
+
+ virtual void processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
+ RegScavenger *RS) const;
};
} // End llvm namespace
OpenPOWER on IntegriCloud