mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
remove hack
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23797 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a1fa8f1d8a
commit
2dfa8192ab
@ -151,9 +151,7 @@ FunctionLoweringInfo::FunctionLoweringInfo(TargetLowering &tli,
|
||||
// FIXME: This could be made better with a preferred alignment hook in
|
||||
// TargetData. It serves primarily to 8-byte align doubles for X86.
|
||||
if (Align < TySize && TySize <= 8) Align = TySize;
|
||||
|
||||
if (CUI->getValue()) // Don't produce zero sized stack objects
|
||||
TySize *= CUI->getValue(); // Get total allocated size.
|
||||
TySize *= CUI->getValue(); // Get total allocated size.
|
||||
StaticAllocaMap[AI] =
|
||||
MF.getFrameInfo()->CreateStackObject((unsigned)TySize, Align);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user