Fix compatibility bug: X86 aligns doubles to 4 bytes, not 8!

llvm-svn: 5935
This commit is contained in:
Chris Lattner 2003-04-25 06:05:57 +00:00
parent 658693c26d
commit 844b1148f4

View File

@ -37,6 +37,7 @@ X86TargetMachine::X86TargetMachine(unsigned Config)
(Config & TM::EndianMask) == TM::LittleEndian,
1, 4,
(Config & TM::PtrSizeMask) == TM::PtrSize64 ? 8 : 4,
(Config & TM::PtrSizeMask) == TM::PtrSize64 ? 8 : 4,
(Config & TM::PtrSizeMask) == TM::PtrSize64 ? 8 : 4),
FrameInfo(TargetFrameInfo::StackGrowsDown, 8/*16 for SSE*/, 4) {
}