diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-10-17 08:57:09 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-10-17 08:57:09 +0000 |
| commit | 5119ce2d160b2a9cf21d7b85b6b78fe3716fe498 (patch) | |
| tree | 074d8d05c4a4e117ae9e881087ab5928a041cebf | |
| parent | c0c65089817f8243f0ef0f92fe12d089a5588caa (diff) | |
| download | bcm5719-llvm-5119ce2d160b2a9cf21d7b85b6b78fe3716fe498.tar.gz bcm5719-llvm-5119ce2d160b2a9cf21d7b85b6b78fe3716fe498.zip | |
Re-arrange some fields.
llvm-svn: 84324
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineFrameInfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineFrameInfo.h b/llvm/include/llvm/CodeGen/MachineFrameInfo.h index b5479ba09f3..99a4c3d07d9 100644 --- a/llvm/include/llvm/CodeGen/MachineFrameInfo.h +++ b/llvm/include/llvm/CodeGen/MachineFrameInfo.h @@ -86,6 +86,10 @@ class MachineFrameInfo { // StackObject - Represent a single object allocated on the stack. struct StackObject { + // SPOffset - The offset of this object from the stack pointer on entry to + // the function. This field has no meaning for a variable sized element. + int64_t SPOffset; + // The size of this object on the stack. 0 means a variable sized object, // ~0ULL means a dead object. uint64_t Size; @@ -98,12 +102,8 @@ class MachineFrameInfo { // default, fixed objects are immutable unless marked otherwise. bool isImmutable; - // SPOffset - The offset of this object from the stack pointer on entry to - // the function. This field has no meaning for a variable sized element. - int64_t SPOffset; - StackObject(uint64_t Sz, unsigned Al, int64_t SP = 0, bool IM = false) - : Size(Sz), Alignment(Al), isImmutable(IM), SPOffset(SP) {} + : SPOffset(SP), Size(Sz), Alignment(Al), isImmutable(IM) {} }; /// Objects - The list of stack objects allocated... |

