mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Fix a comment to say nonnegative instead of positive.
llvm-svn: 53681
This commit is contained in:
parent
bc29205ccc
commit
2638ec5b4c
@ -317,7 +317,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
|
||||
|
||||
// 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.
|
||||
// of stack growth -- so it's always nonnegative.
|
||||
int64_t Offset = TFI.getOffsetOfLocalArea();
|
||||
if (StackGrowsDown)
|
||||
Offset = -Offset;
|
||||
|
Loading…
Reference in New Issue
Block a user