summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-09-23 18:53:19 +0000
committerBob Wilson <bob.wilson@apple.com>2009-09-23 18:53:19 +0000
commitc2c86cede650db47d1bad5041d5fb1deafa4a459 (patch)
tree45e4d330f83b0373d5343c669a3f166c093cde6f /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parentadd586526ed328d7c18260e13ec4784f3301c07d (diff)
downloadbcm5719-llvm-c2c86cede650db47d1bad5041d5fb1deafa4a459.tar.gz
bcm5719-llvm-c2c86cede650db47d1bad5041d5fb1deafa4a459.zip
Edit a comment.
llvm-svn: 82641
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index e20cac26aca..226e1ba2833 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -433,8 +433,7 @@ static inline void
AdjustStackOffset(MachineFrameInfo *FFI, int FrameIdx,
bool StackGrowsDown, int64_t &Offset,
unsigned &MaxAlign) {
- // If stack grows down, we need to add size of find the lowest address of the
- // object.
+ // If the stack grows down, add the object size to find the lowest address.
if (StackGrowsDown)
Offset += FFI->getObjectSize(FrameIdx);
OpenPOWER on IntegriCloud