Update comment.
authorEric Christopher <echristo@apple.com>
Tue, 4 May 2010 22:13:03 +0000 (22:13 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 4 May 2010 22:13:03 +0000 (22:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103057 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86RegisterInfo.cpp

index a3e04b098600664448437d1a8109a1eafb639080..edfdb7620943ff1906d8d5fa10e747d6a240c4fb 100644 (file)
@@ -1307,7 +1307,7 @@ X86RegisterInfo::getInitialFrameState(std::vector<MachineMove> &Moves) const {
   // Calculate amount of bytes used for return address storing
   int stackGrowth = (Is64Bit ? -8 : -4);
 
-  // Initial state of the frame pointer is esp+4.
+  // Initial state of the frame pointer is esp+stackGrowth.
   MachineLocation Dst(MachineLocation::VirtualFP);
   MachineLocation Src(StackPtr, stackGrowth);
   Moves.push_back(MachineMove(0, Dst, Src));