diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-12 18:20:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-12 18:20:55 +0000 |
commit | 092ae6b5d1a4be1b209eafaecc34652bc7bfe350 (patch) | |
tree | 20b327f4666c708bae9837ee7cf3cbdcf0e47a79 | |
parent | be5af7d7f525154f1e64c369b7e0dc78b66449c2 (diff) |
Virtual method calls are overrated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15695 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp b/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp index ca802df8fa..f2e0358932 100644 --- a/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp +++ b/lib/Target/SparcV9/SparcV9PrologEpilogInserter.cpp @@ -60,9 +60,9 @@ static unsigned getStaticStackSize (MachineFunction &MF) { if (staticStackSize < (unsigned) frameInfo.getMinStackFrameSize()) staticStackSize = (unsigned) frameInfo.getMinStackFrameSize(); - if (unsigned padsz = (staticStackSize % - (unsigned) frameInfo.getStackFrameSizeAlignment())) - staticStackSize += frameInfo.getStackFrameSizeAlignment() - padsz; + if (unsigned padsz = staticStackSize % + SparcV9FrameInfo::StackFrameSizeAlignment) + staticStackSize += SparcV9FrameInfo::StackFrameSizeAlignment - padsz; return staticStackSize; } |