diff options
author | Eric Christopher <echristo@apple.com> | 2010-05-04 22:13:03 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-05-04 22:13:03 +0000 |
commit | d2760d1cba46e60011b04be70a4da047a21542ff (patch) | |
tree | 7d0f93614ce3238746abbc1f6ad2724b7328f2e2 /lib/Target/X86/X86RegisterInfo.cpp | |
parent | af1465b17bf9980867a718b76dfbb1fd9ed17420 (diff) | |
download | external_llvm-d2760d1cba46e60011b04be70a4da047a21542ff.zip external_llvm-d2760d1cba46e60011b04be70a4da047a21542ff.tar.gz external_llvm-d2760d1cba46e60011b04be70a4da047a21542ff.tar.bz2 |
Update comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86RegisterInfo.cpp')
-rw-r--r-- | lib/Target/X86/X86RegisterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp index a3e04b0..edfdb76 100644 --- a/lib/Target/X86/X86RegisterInfo.cpp +++ b/lib/Target/X86/X86RegisterInfo.cpp @@ -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)); |