mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 19:29:31 +00:00
Virtual method calls are overrated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be5af7d7f5
commit
092ae6b5d1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user