diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-01-25 07:29:34 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-01-25 07:29:34 +0000 |
| commit | fe34236d73f5b2dba075f7a9801b383cd8a5b814 (patch) | |
| tree | 2eaac9cc7658c140ab3fd239c708f66532087809 | |
| parent | 2d7a830ff3010f15680da05f62daf4eeedfe1e23 (diff) | |
| download | bcm5719-llvm-fe34236d73f5b2dba075f7a9801b383cd8a5b814.tar.gz bcm5719-llvm-fe34236d73f5b2dba075f7a9801b383cd8a5b814.zip | |
move this field back. Moving the field causes miscompilations (!) of voronoi and others.
llvm-svn: 46350
| -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 43166838bb5..97a1f3dcea4 100644 --- a/llvm/include/llvm/CodeGen/MachineFrameInfo.h +++ b/llvm/include/llvm/CodeGen/MachineFrameInfo.h @@ -83,17 +83,17 @@ class MachineFrameInfo { // Alignment - The required alignment of this stack slot. unsigned Alignment; + // 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; + // isImmutable - If true, the value of the stack object is set before // entering the function and is not modified inside the function. By // 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, bool IM = false) - : Size(Sz), Alignment(Al), isImmutable(IM), SPOffset(SP) {} + : Size(Sz), Alignment(Al), SPOffset(SP), isImmutable(IM) {} }; /// Objects - The list of stack objects allocated... |

