[llvm-commits] CVS: llvm/lib/CodeGen/PrologEpilogInserter.cpp

Chris Lattner sabre at nondot.org
Tue Apr 24 21:21:11 PDT 2007



Changes in directory llvm/lib/CodeGen:

PrologEpilogInserter.cpp updated: 1.79 -> 1.80
---
Log message:

support > 4G stack objects


---
Diffs of the changes:  (+2 -2)

 PrologEpilogInserter.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff -u llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.79 llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.80
--- llvm/lib/CodeGen/PrologEpilogInserter.cpp:1.79	Sun Apr  8 20:19:33 2007
+++ llvm/lib/CodeGen/PrologEpilogInserter.cpp	Tue Apr 24 23:20:54 2007
@@ -305,7 +305,7 @@
   // Start at the beginning of the local area.
   // The Offset is the distance from the stack top in the direction
   // of stack growth -- so it's always positive.
-  int Offset = TFI.getOffsetOfLocalArea();
+  int64_t Offset = TFI.getOffsetOfLocalArea();
   if (StackGrowsDown)
     Offset = -Offset;
   assert(Offset >= 0
@@ -317,7 +317,7 @@
   // so we adjust 'Offset' to point to the end of last fixed sized
   // preallocated object.
   for (int i = FFI->getObjectIndexBegin(); i != 0; ++i) {
-    int FixedOff;
+    int64_t FixedOff;
     if (StackGrowsDown) {
       // The maximum distance from the stack pointer is at lower address of
       // the object -- which is given by offset. For down growing stack






More information about the llvm-commits mailing list