summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZRegisterInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/SystemZ/SystemZRegisterInfo.cpp')
-rw-r--r--lib/Target/SystemZ/SystemZRegisterInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZRegisterInfo.cpp b/lib/Target/SystemZ/SystemZRegisterInfo.cpp
index a65cec15c9..dc1561fb1a 100644
--- a/lib/Target/SystemZ/SystemZRegisterInfo.cpp
+++ b/lib/Target/SystemZ/SystemZRegisterInfo.cpp
@@ -206,7 +206,7 @@ void SystemZRegisterInfo::emitPrologue(MachineFunction &MF) const {
uint64_t NumBytes = StackSize - TFI.getOffsetOfLocalArea();
- if (StackSize) // adjust stack pointer: R15 -= numbytes
+ if (NumBytes) // adjust stack pointer: R15 -= numbytes
emitSPUpdate(MBB, MBBI, -(int64_t)NumBytes, TII);
if (hasFP(MF)) {