[llvm-commits] [llvm] r103057 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp

Eric Christopher echristo at apple.com
Tue May 4 15:13:03 PDT 2010


Author: echristo
Date: Tue May  4 17:13:03 2010
New Revision: 103057

URL: http://llvm.org/viewvc/llvm-project?rev=103057&view=rev
Log:
Update comment.

Modified:
    llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp

Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp?rev=103057&r1=103056&r2=103057&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86RegisterInfo.cpp Tue May  4 17:13:03 2010
@@ -1307,7 +1307,7 @@
   // 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));





More information about the llvm-commits mailing list