projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mcize a bunch more stuff, using EmitRawText for things we
[oota-llvm.git]
/
lib
/
Target
/
MSP430
/
MSP430MachineFunctionInfo.h
diff --git
a/lib/Target/MSP430/MSP430MachineFunctionInfo.h
b/lib/Target/MSP430/MSP430MachineFunctionInfo.h
index b94d7e44cace2adf0a2379709d822de4d2c08d36..383fd2e9821c44d7b9395d9f2f24409cb2ea1693 100644
(file)
--- a/
lib/Target/MSP430/MSP430MachineFunctionInfo.h
+++ b/
lib/Target/MSP430/MSP430MachineFunctionInfo.h
@@
-25,13
+25,20
@@
class MSP430MachineFunctionInfo : public MachineFunctionInfo {
/// stack frame in bytes.
unsigned CalleeSavedFrameSize;
/// stack frame in bytes.
unsigned CalleeSavedFrameSize;
+ /// ReturnAddrIndex - FrameIndex for return slot.
+ int ReturnAddrIndex;
+
public:
MSP430MachineFunctionInfo() : CalleeSavedFrameSize(0) {}
public:
MSP430MachineFunctionInfo() : CalleeSavedFrameSize(0) {}
- MSP430MachineFunctionInfo(MachineFunction &MF) : CalleeSavedFrameSize(0) {}
+ explicit MSP430MachineFunctionInfo(MachineFunction &MF)
+ : CalleeSavedFrameSize(0), ReturnAddrIndex(0) {}
unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
unsigned getCalleeSavedFrameSize() const { return CalleeSavedFrameSize; }
void setCalleeSavedFrameSize(unsigned bytes) { CalleeSavedFrameSize = bytes; }
+
+ int getRAIndex() const { return ReturnAddrIndex; }
+ void setRAIndex(int Index) { ReturnAddrIndex = Index; }
};
} // End llvm namespace
};
} // End llvm namespace