mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Fix a comment to say nonnegative instead of positive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53681 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c5e1f98fdf
commit
c0d6012b31
@ -317,7 +317,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
|
|||||||
|
|
||||||
// Start at the beginning of the local area.
|
// Start at the beginning of the local area.
|
||||||
// The Offset is the distance from the stack top in the direction
|
// 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();
|
int64_t Offset = TFI.getOffsetOfLocalArea();
|
||||||
if (StackGrowsDown)
|
if (StackGrowsDown)
|
||||||
Offset = -Offset;
|
Offset = -Offset;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user