From a8d35c98fd1ccef09e604eadb27a4a2c6e205978 Mon Sep 17 00:00:00 2001 From: Job Noorman Date: Thu, 24 Oct 2013 09:32:31 +0000 Subject: Make sure SP is always aligned on a 2 byte boundary llvm-svn: 193320 --- llvm/lib/Target/MSP430/MSP430FrameLowering.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Target/MSP430/MSP430FrameLowering.h') diff --git a/llvm/lib/Target/MSP430/MSP430FrameLowering.h b/llvm/lib/Target/MSP430/MSP430FrameLowering.h index c673f59b5ef..8370714a594 100644 --- a/llvm/lib/Target/MSP430/MSP430FrameLowering.h +++ b/llvm/lib/Target/MSP430/MSP430FrameLowering.h @@ -27,8 +27,8 @@ protected: public: explicit MSP430FrameLowering(const MSP430Subtarget &sti) - : TargetFrameLowering(TargetFrameLowering::StackGrowsDown, 2, -2), STI(sti) { - } + : TargetFrameLowering(TargetFrameLowering::StackGrowsDown, 2, -2, 2), + STI(sti) {} /// emitProlog/emitEpilog - These methods insert prolog and epilog code into /// the function. -- cgit v1.2.3