diff options
author | Eli Bendersky <eliben@chromium.org> | 2013-01-28 13:56:39 -0800 |
---|---|---|
committer | Eli Bendersky <eliben@chromium.org> | 2013-01-28 13:56:39 -0800 |
commit | aa0fa8a8df25807f784ec9ca9deeb40328636595 (patch) | |
tree | a92e33aafd2c63e87c1bdb53b0869affc2555407 | |
parent | 32cf7c0ab28655e22b5915b8a849451d9b0ff97f (diff) |
Remove a localmod that's not being used in reality
BUG=3178
Review URL: https://codereview.chromium.org/12088028
-rw-r--r-- | include/llvm/Target/TargetFrameLowering.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/llvm/Target/TargetFrameLowering.h b/include/llvm/Target/TargetFrameLowering.h index 6a35fdef7d..1958f90f9b 100644 --- a/include/llvm/Target/TargetFrameLowering.h +++ b/include/llvm/Target/TargetFrameLowering.h @@ -48,18 +48,11 @@ private: unsigned TransientStackAlignment; int LocalAreaOffset; bool StackRealignable; - - // @LOCALMOD-BEGIN - // TODO(pdox): Refactor this and upstream it, to get rid of the - // assumption that StackSlotSize == PointerSize. - unsigned StackSlotSize; - // @LOCALMOD-END public: TargetFrameLowering(StackDirection D, unsigned StackAl, int LAO, - unsigned TransAl = 1, bool StackReal = true, - unsigned SlotSize = 0) // @LOCALMOD + unsigned TransAl = 1, bool StackReal = true) : StackDir(D), StackAlignment(StackAl), TransientStackAlignment(TransAl), - LocalAreaOffset(LAO), StackRealignable(StackReal), StackSlotSize(SlotSize) {} + LocalAreaOffset(LAO), StackRealignable(StackReal) {} virtual ~TargetFrameLowering(); @@ -70,11 +63,6 @@ public: /// StackDirection getStackGrowthDirection() const { return StackDir; } - // @LOCALMOD-BEGIN - /// getStackSlotSize - Return the size of a stack slot - unsigned getStackSlotSize() const { return StackSlotSize; } - // @LOCALMOD-END - /// getStackAlignment - This method returns the number of bytes to which the /// stack pointer must be aligned on entry to a function. Typically, this /// is the largest alignment for any data object in the target. |